]> git.eshelyaron.com Git - emacs.git/commitdiff
Include keyboard.h before frame.h.
authorAndrew Innes <andrewi@gnu.org>
Tue, 22 Aug 2000 22:23:58 +0000 (22:23 +0000)
committerAndrew Innes <andrewi@gnu.org>
Tue, 22 Aug 2000 22:23:58 +0000 (22:23 +0000)
[USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.

src/keyboard.c

index 0dfae2f76d75a2516915d0d193af2f17ad4ad1ca..6c25c3d99ee198a2371b32f3b516ca3c62a1a372 100644 (file)
@@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA.  */
 #include "lisp.h"
 #include "termhooks.h"
 #include "macros.h"
+#include "keyboard.h"
 #include "frame.h"
 #include "window.h"
 #include "commands.h"
@@ -34,7 +35,6 @@ Boston, MA 02111-1307, USA.  */
 #include "charset.h"
 #include "disptab.h"
 #include "dispextern.h"
-#include "keyboard.h"
 #include "syntax.h"
 #include "intervals.h"
 #include "blockinput.h"
@@ -73,7 +73,9 @@ Boston, MA 02111-1307, USA.  */
 /* Include systime.h after xterm.h to avoid double inclusion of time.h. */
 #include "systime.h"
 
+#ifndef USE_CRT_DLL
 extern int errno;
+#endif
 
 /* Variables for blockinput.h: */