#include config.h before any other .h file.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 20 May 1995 11:16:51 +0000 (07:16 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 20 May 1995 11:16:51 +0000 (07:16 -0400)
From-SVN: r9756

gcc/collect2.c

index cfc279088b8fcd494c822cf4026ce823f87f8ece..e6b67f6bfb5769318558366528c7841c7020f177 100644 (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. */
 
+#include "config.h"
 #include <sys/types.h>
 #include <stdio.h>
 #include <ctype.h>
@@ -37,6 +38,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <sys/wait.h>
 #endif
 
+#define COLLECT
+
+#include "demangle.h"
+#include "obstack.h"
+
 #ifndef errno
 extern int errno;
 #endif
@@ -52,13 +58,6 @@ extern int sys_nerr;
 char *strerror();
 #endif
 
-#define COLLECT
-
-#include "config.h"
-#include "demangle.h"
-
-#include "obstack.h"
-
 /* Obstack allocation and deallocation routines.  */
 #define obstack_chunk_alloc xmalloc
 #define obstack_chunk_free free