]> git.eshelyaron.com Git - emacs.git/commitdiff
* etags.c: #include "config.h" and the alloca CPP tangle before
authorJim Blandy <jimb@redhat.com>
Tue, 29 Jun 1993 22:58:40 +0000 (22:58 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 29 Jun 1993 22:58:40 +0000 (22:58 +0000)
#including the system headers and getopt.h.  AIX requires the
#pragma to come before any actual C code.

lib-src/etags.c

index 22b256788235e241d8d6a719e6fc27f922f11ccc..c582d61b444593704ea29c4837618e800536cf3f 100644 (file)
@@ -26,16 +26,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  *     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 @@ char *alloca ();
 #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 ();