Commit 918f9ad1 authored by Jim Blandy's avatar Jim Blandy
Browse files

* 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.
parent 26c1639e
......@@ -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 ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment