This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: header file ordering
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