From: Andrew Innes Date: Tue, 22 Aug 2000 22:14:00 +0000 (+0000) Subject: Include keyboard.h before frame.h. X-Git-Tag: emacs-pretest-21.0.90~2047 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d43721a22ec2e1d02433a9ef87af31bd57ca40e4;p=emacs.git Include keyboard.h before frame.h. (window_change_signal) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. --- diff --git a/src/dispnew.c b/src/dispnew.c index d715e598f1f..5cff07c04b9 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -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);