From: Richard Stallman Date: Sun, 31 Jan 1993 17:43:09 +0000 (+0000) Subject: Include gvarargs.h before system headers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32d2858d9bb916d436dee58605552d504fca5d5b;p=gcc.git Include gvarargs.h before system headers. From-SVN: r3395 --- diff --git a/gcc/protoize.c b/gcc/protoize.c index c482af93b1d..858a0b00485 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 #include #include @@ -68,7 +71,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #endif #include -#include "gvarargs.h" /* Include getopt.h for the sake of getopt_long. We don't need the declaration of getopt, and it could conflict