[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils
Subject:    Re: header file ordering
From:       Alan Modra <amodra () bigpond ! net ! au>
Date:       2007-04-26 15:06:07
Message-ID: 20070426145407.GM10537 () bubble ! grove ! modra ! org
[Download RAW message or body]

On Fri, Apr 27, 2007 at 12:12:18AM +0930, Alan Modra wrote:
> We really do want to process config.h first

And then I forgot to apply this patch.

	* sysdep.h: Include config.h first.

Index: bfd/sysdep.h
===================================================================
RCS file: /cvs/src/src/bfd/sysdep.h,v
retrieving revision 1.18
diff -u -p -r1.18 sysdep.h
--- bfd/sysdep.h	25 Apr 2007 06:32:13 -0000	1.18
+++ bfd/sysdep.h	26 Apr 2007 14:53:26 -0000
@@ -1,5 +1,5 @@
 /* sysdep.h -- handle host dependencies for the BFD library
-   Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001
+   Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2007
    Free Software Foundation, Inc.
    Written by Cygnus Support.
 
@@ -22,10 +22,10 @@ Foundation, Inc., 51 Franklin Street - F
 #ifndef BFD_SYSDEP_H
 #define BFD_SYSDEP_H
 
-#include "ansidecl.h"
-
 #include "config.h"
 
+#include "ansidecl.h"
+
 #ifdef HAVE_STDDEF_H
 #include <stddef.h>
 #endif

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic