From d43721a22ec2e1d02433a9ef87af31bd57ca40e4 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 22 Aug 2000 22:14:00 +0000 Subject: [PATCH] Include keyboard.h before frame.h. (window_change_signal) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. --- src/dispnew.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.39.2