changeset 31093:6da961dff718

Include keyboard.h before frame.h. (window_change_signal) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 22:14:00 +0000
parents 6321f3da048f
children 7949e7792b02
files src/dispnew.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Tue Aug 22 21:57:09 2000 +0000
+++ b/src/dispnew.c	Tue Aug 22 22:14:00 2000 +0000
@@ -37,6 +37,7 @@
 #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 @@
 #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 @@
      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);