# HG changeset patch # User Andrew Innes # Date 966983038 0 # Node ID c32ed4f23f3457fa4bedfaf2f3de9ca6dab76fef # Parent e19d38e14720df6084d6ec28616feafceb0759f9 Include keyboard.h before frame.h. [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. diff -r e19d38e14720 -r c32ed4f23f34 src/keyboard.c --- a/src/keyboard.c Tue Aug 22 22:19:26 2000 +0000 +++ b/src/keyboard.c Tue Aug 22 22:23:58 2000 +0000 @@ -27,6 +27,7 @@ #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 @@ #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 @@ /* 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: */