From 32d2858d9bb916d436dee58605552d504fca5d5b Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 31 Jan 1993 17:43:09 +0000 Subject: [PATCH] Include gvarargs.h before system headers. From-SVN: r3395 --- gcc/protoize.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2