Index: gmodule/gmodule-beos.c
===================================================================
--- gmodule/gmodule-beos.c	(revision 5777)
+++ gmodule/gmodule-beos.c	(working copy)
@@ -23,6 +23,7 @@
 /* 
  * MT safe
  */
+#include "config.h"
 
 #include <be/kernel/image.h> /* image (aka DSO) handling functions... */
 
Index: gmodule/gmodule-dyld.c
===================================================================
--- gmodule/gmodule-dyld.c	(revision 5777)
+++ gmodule/gmodule-dyld.c	(working copy)
@@ -19,6 +19,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
+#include "config.h"
 
 #include <mach-o/dyld.h>
 
Index: gmodule/gmodule-dl.c
===================================================================
--- gmodule/gmodule-dl.c	(revision 5777)
+++ gmodule/gmodule-dl.c	(working copy)
@@ -27,6 +27,7 @@
 /* 
  * MT safe
  */
+#include "config.h"
 
 #include <dlfcn.h>
 
Index: gmodule/gmodule.c
===================================================================
--- gmodule/gmodule.c	(revision 5777)
+++ gmodule/gmodule.c	(working copy)
@@ -28,10 +28,7 @@
  * MT safe
  */
 
-#include <config.h>
-#include "gmoduleconf.h"
-#include "gstdio.h"
-#include "gmodule.h"
+#include "config.h"
 
 #include <errno.h>
 #include <string.h>
@@ -45,6 +42,9 @@
 #include <io.h>		/* 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
Index: gmodule/gmodule-win32.c
===================================================================
--- gmodule/gmodule-win32.c	(revision 5777)
+++ gmodule/gmodule-win32.c	(working copy)
@@ -30,6 +30,7 @@
 /* 
  * MT safe
  */
+#include "config.h"
 
 #include <stdio.h>
 #include <windows.h>
Index: gmodule/gmodule-ar.c
===================================================================
--- gmodule/gmodule-ar.c	(revision 5777)
+++ gmodule/gmodule-ar.c	(working copy)
@@ -24,6 +24,9 @@
 /* because we are compatible with archive format only since AIX 4.3 */
 
 #define __AR_BIG__
+
+#include "config.h"
+
 #include <ar.h>
 #include <stdlib.h>
 
Index: gmodule/gmodule-os2.c
===================================================================
--- gmodule/gmodule-os2.c	(revision 5777)
+++ gmodule/gmodule-os2.c	(working copy)
@@ -27,6 +27,7 @@
 /* 
  * MT safe
  */
+#include "config.h"
 
 #include <dlfcn.h>
 
Index: gmodule/gmodule-dld.c
===================================================================
--- gmodule/gmodule-dld.c	(revision 5777)
+++ gmodule/gmodule-dld.c	(working copy)
@@ -27,6 +27,7 @@
 /* 
  * MT safe
  */
+#include "config.h"
 
 #include <dl.h>
 
