mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* 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.
This commit is contained in:
parent
26c1639eb6
commit
918f9ad18d
1 changed files with 7 additions and 7 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue