# HG changeset patch # User Jim Blandy # Date 741394720 0 # Node ID e5e5b3634dd0de8577c4714fa96593a32398c8d4 # Parent 81d29cf5b23265ae950ff2ea093276e13d48a1ed * 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. diff -r 81d29cf5b232 -r e5e5b3634dd0 lib-src/etags.c --- 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 -#include -#include -#include - #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 +#include +#include +#include + +#include "getopt.h" + extern char *malloc (), *realloc (); extern char *getenv (); extern char *strcpy (), *strncpy ();