From 026396097f5d5f831523aba048a70f0aa9ae671e Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 22 Aug 2000 22:23:58 +0000 Subject: [PATCH] Include keyboard.h before frame.h. [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. --- src/keyboard.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 0dfae2f76d7..6c25c3d99ee 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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: */ -- 2.39.2