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

src/dispnew.c

index d715e598f1f5bbb39b9d9148274ae6e6c5456ef0..5cff07c04b9d8571958f91fb0daf13e0599cae52 100644 (file)
@@ -37,6 +37,7 @@ Boston, MA 02111-1307, USA.  */
 #include "cm.h"
 #include "buffer.h"
 #include "charset.h"
+#include "keyboard.h"
 #include "frame.h"
 #include "window.h"
 #include "commands.h"
@@ -45,7 +46,6 @@ Boston, MA 02111-1307, USA.  */
 #include "intervals.h"
 #include "blockinput.h"
 #include "process.h"
-#include "keyboard.h"
 
 /* I don't know why DEC Alpha OSF1 fail to compile this file if we
    include the following file.  */
@@ -5427,7 +5427,9 @@ window_change_signal (signalnum) /* If we don't have an argument, */
      int signalnum;            /* some compilers complain in signal calls.  */
 {
   int width, height;
+#ifndef USE_CRT_DLL
   extern int errno;
+#endif
   int old_errno = errno;
 
   get_frame_size (&width, &height);