projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43a5a54
)
Include gvarargs.h before system headers.
author
Richard Stallman
<rms@gnu.org>
Sun, 31 Jan 1993 17:43:09 +0000
(17:43 +0000)
committer
Richard Stallman
<rms@gnu.org>
Sun, 31 Jan 1993 17:43:09 +0000
(17:43 +0000)
From-SVN: r3395
gcc/protoize.c
patch
|
blob
|
history
diff --git
a/gcc/protoize.c
b/gcc/protoize.c
index c482af93b1d91ca8ef04631b1eb040bccf92ab05..858a0b004858209de2ac7ab093744a855378a20f 100644
(file)
--- 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