changeset 31102:6a0caa788013

Include keyboard.h before frame.h.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 22:41:00 +0000
parents 1a4f15527382
children a805d5d9bc7e
files src/alloc.c src/buffer.c src/fontset.c src/frame.c src/indent.c src/minibuf.c src/print.c src/scroll.c src/term.c
diffstat 9 files changed, 14 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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 <setjmp.h>
--- 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 <sys/param.h>
 #include <errno.h>
 
+#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 */
--- 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"
--- 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;
 
--- 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"
--- 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))
 
--- 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;
--- 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"
 
--- 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"