From: kenner Date: Sat, 20 May 1995 11:16:51 +0000 (+0000) Subject: #include config.h before any other .h file. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de61b97c094cc3dfdf9e5e9a37337746afb7a418;p=platform%2Fupstream%2Flinaro-gcc.git #include config.h before any other .h file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9756 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/collect2.c b/gcc/collect2.c index cfc2790..e6b67f6 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -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 #include #include @@ -37,6 +38,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #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