changeset 2977:ddcad1457cd5

Move signal.h and stdio.h before config.h.
author Richard M. Stallman <rms@gnu.org>
date Sun, 23 May 1993 18:09:41 +0000
parents 6fe71a039fce
children 07010383044d
files src/xterm.c
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sun May 23 18:04:25 1993 +0000
+++ b/src/xterm.c	Sun May 23 18:09:41 1993 +0000
@@ -27,6 +27,12 @@
 
 #define NEW_SELECTIONS
 
+/* On 4.3 these lose if they come after xterm.h.  */
+/* On HP-UX 8.0 signal.h loses if it comes after config.h.  */
+/* Putting these at the beginning seems to be standard for other .c files.  */
+#include <stdio.h>
+#include <signal.h>
+
 #include "config.h"
 
 #ifdef HAVE_X_WINDOWS
@@ -34,10 +40,6 @@
 #include "lisp.h"
 #include "blockinput.h"
 
-/* On 4.3 these lose if they come after xterm.h.  */
-#include <stdio.h>
-#include <signal.h>
-
 /* This may include sys/types.h, and that somehow loses
    if this is not done before the other system files.  */
 #include "xterm.h"