Commit c102bba0 by Richard Kenner

#include config.h before any other .h file.

From-SVN: r9756
parent efffbf71
...@@ -26,6 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -26,6 +26,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Build tables of static constructors and destructors and run ld. */ /* Build tables of static constructors and destructors and run ld. */
#include "config.h"
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
...@@ -37,6 +38,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -37,6 +38,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/wait.h> #include <sys/wait.h>
#endif #endif
#define COLLECT
#include "demangle.h"
#include "obstack.h"
#ifndef errno #ifndef errno
extern int errno; extern int errno;
#endif #endif
...@@ -52,13 +58,6 @@ extern int sys_nerr; ...@@ -52,13 +58,6 @@ extern int sys_nerr;
char *strerror(); char *strerror();
#endif #endif
#define COLLECT
#include "config.h"
#include "demangle.h"
#include "obstack.h"
/* Obstack allocation and deallocation routines. */ /* Obstack allocation and deallocation routines. */
#define obstack_chunk_alloc xmalloc #define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free #define obstack_chunk_free free
......
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