OSDN Git Service

Include gvarargs.h before system headers.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 31 Jan 1993 17:43:09 +0000 (17:43 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 31 Jan 1993 17:43:09 +0000 (17:43 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3395 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/protoize.c

index c482af9..858a0b0 100644 (file)
@@ -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