From 9757456e23195ae9496c059b0235dcf8768185cd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 8 Nov 2007 03:43:46 +0000 Subject: [PATCH] Make header include order consistent (#71704, Diego Escalante Urrelo) 2007-11-07 Matthias Clasen * *.c: Make header include order consistent (#71704, Diego Escalante Urrelo) svn path=/trunk/; revision=5817 --- gmodule/ChangeLog | 5 +++++ gmodule/gmodule-ar.c | 3 +++ gmodule/gmodule-beos.c | 1 + gmodule/gmodule-dl.c | 1 + gmodule/gmodule-dld.c | 1 + gmodule/gmodule-dyld.c | 1 + gmodule/gmodule-os2.c | 1 + gmodule/gmodule-win32.c | 1 + gmodule/gmodule.c | 8 ++++---- 9 files changed, 18 insertions(+), 4 deletions(-) diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index bc73dcb8..34c162f7 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,8 @@ +2007-11-07 Matthias Clasen + + * *.c: Make header include order consistent (#71704, + Diego Escalante Urrelo) + 2007-11-07 Matthias Clasen * === Released 2.14.3 === diff --git a/gmodule/gmodule-ar.c b/gmodule/gmodule-ar.c index 353a0577..8bc847d9 100644 --- a/gmodule/gmodule-ar.c +++ b/gmodule/gmodule-ar.c @@ -24,6 +24,9 @@ /* because we are compatible with archive format only since AIX 4.3 */ #define __AR_BIG__ + +#include "config.h" + #include #include diff --git a/gmodule/gmodule-beos.c b/gmodule/gmodule-beos.c index 159bc985..c54eed99 100644 --- a/gmodule/gmodule-beos.c +++ b/gmodule/gmodule-beos.c @@ -23,6 +23,7 @@ /* * MT safe */ +#include "config.h" #include /* image (aka DSO) handling functions... */ diff --git a/gmodule/gmodule-dl.c b/gmodule/gmodule-dl.c index ce337776..035b2a9e 100644 --- a/gmodule/gmodule-dl.c +++ b/gmodule/gmodule-dl.c @@ -27,6 +27,7 @@ /* * MT safe */ +#include "config.h" #include diff --git a/gmodule/gmodule-dld.c b/gmodule/gmodule-dld.c index 913ac453..401b32f7 100644 --- a/gmodule/gmodule-dld.c +++ b/gmodule/gmodule-dld.c @@ -27,6 +27,7 @@ /* * MT safe */ +#include "config.h" #include diff --git a/gmodule/gmodule-dyld.c b/gmodule/gmodule-dyld.c index 3a96017d..1896b43b 100644 --- a/gmodule/gmodule-dyld.c +++ b/gmodule/gmodule-dyld.c @@ -19,6 +19,7 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ +#include "config.h" #include diff --git a/gmodule/gmodule-os2.c b/gmodule/gmodule-os2.c index 4dd0404d..d074d8c7 100644 --- a/gmodule/gmodule-os2.c +++ b/gmodule/gmodule-os2.c @@ -27,6 +27,7 @@ /* * MT safe */ +#include "config.h" #include diff --git a/gmodule/gmodule-win32.c b/gmodule/gmodule-win32.c index 3e8fe02f..7dba30e1 100644 --- a/gmodule/gmodule-win32.c +++ b/gmodule/gmodule-win32.c @@ -30,6 +30,7 @@ /* * MT safe */ +#include "config.h" #include #include diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 0bc6a68f..063bd319 100644 --- a/gmodule/gmodule.c +++ b/gmodule/gmodule.c @@ -28,10 +28,7 @@ * MT safe */ -#include -#include "gmoduleconf.h" -#include "gstdio.h" -#include "gmodule.h" +#include "config.h" #include #include @@ -45,6 +42,9 @@ #include /* For open() and close() prototypes. */ #endif +#include "gmoduleconf.h" +#include "gstdio.h" +#include "gmodule.h" /* We maintain a list of modules, so we can reference count them. * That's needed because some platforms don't support refernce counts on -- 2.34.1