diff lib-src/etags.c @ 3921:e5e5b3634dd0

* etags.c: #include "config.h" and the alloca CPP tangle before #including the system headers and getopt.h. AIX requires the #pragma to come before any actual C code.
author Jim Blandy <jimb@redhat.com>
date Tue, 29 Jun 1993 22:58:40 +0000
parents 6d8422d99000
children 73aa16fc728d
line wrap: on
line diff
--- a/lib-src/etags.c	Tue Jun 29 22:46:26 1993 +0000
+++ b/lib-src/etags.c	Tue Jun 29 22:58:40 1993 +0000
@@ -26,16 +26,9 @@
  *	Sam Kendall added C++.
  */
 
-#include <stdio.h>
-#include <ctype.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
 #include "../src/config.h"
 #undef static
 
-#include "getopt.h"
-
 /* AIX requires this to be the first thing in the file. */
 #ifdef __GNUC__
 #ifndef alloca
@@ -53,6 +46,13 @@
 #endif /* not HAVE_ALLOCA_H */
 #endif /* not __GNUC__ */
 
+#include <stdio.h>
+#include <ctype.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+
+#include "getopt.h"
+
 extern char *malloc (), *realloc ();
 extern char *getenv ();
 extern char *strcpy (), *strncpy ();