# HG changeset patch # User Andrew Innes # Date 966984060 0 # Node ID 6a0caa7880130d1fa8b4256f6747ba6343d8b3a3 # Parent 1a4f15527382ce22e14d82f16dee5daf3a385e5f Include keyboard.h before frame.h. diff -r 1a4f15527382 -r 6a0caa788013 src/alloc.c --- a/src/alloc.c Tue Aug 22 22:40:16 2000 +0000 +++ b/src/alloc.c Tue Aug 22 22:41:00 2000 +0000 @@ -36,9 +36,9 @@ #include "puresize.h" #include "buffer.h" #include "window.h" +#include "keyboard.h" #include "frame.h" #include "blockinput.h" -#include "keyboard.h" #include "charset.h" #include "syssignal.h" #include diff -r 1a4f15527382 -r 6a0caa788013 src/buffer.c --- a/src/buffer.c Tue Aug 22 22:40:16 2000 +0000 +++ b/src/buffer.c Tue Aug 22 22:41:00 2000 +0000 @@ -26,7 +26,9 @@ #include #include +#ifndef USE_CRT_DLL extern int errno; +#endif #ifndef MAXPATHLEN /* in 4.1, param.h fails to define this. */ @@ -45,6 +47,7 @@ #include "region-cache.h" #include "indent.h" #include "blockinput.h" +#include "keyboard.h" #include "frame.h" struct buffer *current_buffer; /* the current buffer */ diff -r 1a4f15527382 -r 6a0caa788013 src/fontset.c --- a/src/fontset.c Tue Aug 22 22:40:16 2000 +0000 +++ b/src/fontset.c Tue Aug 22 22:41:00 2000 +0000 @@ -31,6 +31,7 @@ #include "buffer.h" #include "charset.h" #include "ccl.h" +#include "keyboard.h" #include "frame.h" #include "dispextern.h" #include "fontset.h" diff -r 1a4f15527382 -r 6a0caa788013 src/frame.c --- a/src/frame.c Tue Aug 22 22:40:16 2000 +0000 +++ b/src/frame.c Tue Aug 22 22:41:00 2000 +0000 @@ -29,6 +29,10 @@ #ifdef WINDOWSNT #include "w32term.h" #endif +#include "buffer.h" +/* These help us bind and responding to switch-frame events. */ +#include "commands.h" +#include "keyboard.h" #include "frame.h" #ifdef HAVE_WINDOW_SYSTEM #include "fontset.h" @@ -222,12 +226,6 @@ } } -#include "buffer.h" - -/* These help us bind and responding to switch-frame events. */ -#include "commands.h" -#include "keyboard.h" - Lisp_Object Vemacs_iconified; Lisp_Object Vframe_list; diff -r 1a4f15527382 -r 6a0caa788013 src/indent.c --- a/src/indent.c Tue Aug 22 22:40:16 2000 +0000 +++ b/src/indent.c Tue Aug 22 22:41:00 2000 +0000 @@ -25,6 +25,7 @@ #include "charset.h" #include "category.h" #include "indent.h" +#include "keyboard.h" #include "frame.h" #include "window.h" #include "termchar.h" diff -r 1a4f15527382 -r 6a0caa788013 src/minibuf.c --- a/src/minibuf.c Tue Aug 22 22:40:16 2000 +0000 +++ b/src/minibuf.c Tue Aug 22 22:41:00 2000 +0000 @@ -27,10 +27,10 @@ #include "buffer.h" #include "charset.h" #include "dispextern.h" +#include "keyboard.h" #include "frame.h" #include "window.h" #include "syntax.h" -#include "keyboard.h" #define min(a, b) ((a) < (b) ? (a) : (b)) diff -r 1a4f15527382 -r 6a0caa788013 src/print.c --- a/src/print.c Tue Aug 22 22:40:16 2000 +0000 +++ b/src/print.c Tue Aug 22 22:41:00 2000 +0000 @@ -25,12 +25,12 @@ #include "lisp.h" #include "buffer.h" #include "charset.h" +#include "keyboard.h" #include "frame.h" #include "window.h" #include "process.h" #include "dispextern.h" #include "termchar.h" -#include "keyboard.h" #include "intervals.h" Lisp_Object Vstandard_output, Qstandard_output; diff -r 1a4f15527382 -r 6a0caa788013 src/scroll.c --- a/src/scroll.c Tue Aug 22 22:40:16 2000 +0000 +++ b/src/scroll.c Tue Aug 22 22:41:00 2000 +0000 @@ -25,6 +25,7 @@ #include "termchar.h" #include "lisp.h" #include "dispextern.h" +#include "keyboard.h" #include "frame.h" #include "window.h" diff -r 1a4f15527382 -r 6a0caa788013 src/term.c --- a/src/term.c Tue Aug 22 22:40:16 2000 +0000 +++ b/src/term.c Tue Aug 22 22:41:00 2000 +0000 @@ -31,10 +31,10 @@ #include "lisp.h" #include "charset.h" #include "coding.h" +#include "keyboard.h" #include "frame.h" #include "disptab.h" #include "termhooks.h" -#include "keyboard.h" #include "dispextern.h" #include "window.h"