diff options
author | Richard Stallman <rms@gnu.org> | 1993-01-31 17:43:09 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-01-31 17:43:09 +0000 |
commit | 32d2858d9bb916d436dee58605552d504fca5d5b (patch) | |
tree | e9443a6af8bb86461e84a592b9ddb25650a092fc /gcc | |
parent | 43a5a54258c634de80ca2eeeafb31a949448f322 (diff) | |
download | gcc-32d2858d9bb916d436dee58605552d504fca5d5b.zip gcc-32d2858d9bb916d436dee58605552d504fca5d5b.tar.gz gcc-32d2858d9bb916d436dee58605552d504fca5d5b.tar.bz2 |
Include gvarargs.h before system headers.
From-SVN: r3395
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/protoize.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/protoize.c b/gcc/protoize.c index c482af9..858a0b0 100644 --- a/gcc/protoize.c +++ b/gcc/protoize.c @@ -57,6 +57,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define _POSIX_SOURCE #endif +#include "gvarargs.h" +/* On some systems stdio.h includes stdarg.h; + we must bring in gvarargs.h first. */ #include <stdio.h> #include <ctype.h> #include <errno.h> @@ -68,7 +71,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <sys/dir.h> #endif #include <setjmp.h> -#include "gvarargs.h" /* Include getopt.h for the sake of getopt_long. We don't need the declaration of getopt, and it could conflict |