Fix an include order problem
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 2 Mar 2009 03:56:31 +0000 (03:56 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 2 Mar 2009 03:56:31 +0000 (03:56 +0000)
svn path=/trunk/; revision=7936

gmodule/ChangeLog
gmodule/gmodule.c

index 0de4486..2c36e79 100644 (file)
@@ -1,3 +1,10 @@
+2009-03-01  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 71704 - Header file include order
+
+       * gmodule.c: Include gmodule.h before io.h.
+       Pointed out by Kazuki Iwamoto
+
 2009-02-17  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.19.8 ===
index 1ebb63e..2d7f410 100644 (file)
@@ -31,6 +31,7 @@
 #include "config.h"
 
 #include "glib.h"
+#include "gmodule.h"
 
 #include <errno.h>
 #include <string.h>
@@ -46,7 +47,6 @@
 
 #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