Commit 32d2858d by Richard Stallman

Include gvarargs.h before system headers.

From-SVN: r3395
parent 43a5a542
...@@ -57,6 +57,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -57,6 +57,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define _POSIX_SOURCE #define _POSIX_SOURCE
#endif #endif
#include "gvarargs.h"
/* On some systems stdio.h includes stdarg.h;
we must bring in gvarargs.h first. */
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
...@@ -68,7 +71,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -68,7 +71,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/dir.h> #include <sys/dir.h>
#endif #endif
#include <setjmp.h> #include <setjmp.h>
#include "gvarargs.h"
/* Include getopt.h for the sake of getopt_long. /* Include getopt.h for the sake of getopt_long.
We don't need the declaration of getopt, and it could conflict We don't need the declaration of getopt, and it could conflict
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment