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

From-SVN: r9756
This commit is contained in:
Richard Kenner 1995-05-20 07:16:51 -04:00
parent efffbf71b1
commit c102bba010
1 changed files with 6 additions and 7 deletions

View File

@ -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. */
#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;
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