From: Andrew Innes Date: Tue, 22 Aug 2000 22:23:58 +0000 (+0000) Subject: Include keyboard.h before frame.h. X-Git-Tag: emacs-pretest-21.0.90~2044 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=026396097f5d5f831523aba048a70f0aa9ae671e;p=emacs.git Include keyboard.h before frame.h. [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. --- 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: */