diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index 34c162f70..6958f301d 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,7 @@ +2007-11-08 Matthias Clasen + + * gmodule.c: Include glibconfig.h before checking G_OS_WIN32. + 2007-11-07 Matthias Clasen * *.c: Make header include order consistent (#71704, diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 063bd3197..06167da01 100644 --- a/gmodule/gmodule.c +++ b/gmodule/gmodule.c @@ -29,6 +29,7 @@ */ #include "config.h" +#include "glibconfig.h" #include #include @@ -38,7 +39,7 @@ #ifdef HAVE_UNISTD_H #include #endif -#if defined (G_OS_WIN32) +#ifdef G_OS_WIN32 #include /* For open() and close() prototypes. */ #endif