Index: localcharset.c
===================================================================
RCS file: /cvs/gnome/glib/glib/libcharset/localcharset.c,v
retrieving revision 1.4
diff -u -r1.4 localcharset.c
--- localcharset.c	15 Dec 2002 01:35:07 -0000	1.4
+++ localcharset.c	8 Apr 2004 11:21:53 -0000
@@ -23,6 +23,8 @@
 # include <config.h>
 #endif
 
+#include <glibconfig.h>
+
 #if HAVE_STDDEF_H
 # include <stddef.h>
 #endif
@@ -35,6 +37,10 @@
 #endif
 #if HAVE_STDLIB_H
 # include <stdlib.h>
+#endif
+
+#if defined G_PLATFORM_WIN32
+# define _WIN32 1
 #endif
 
 #if defined _WIN32 || defined __WIN32__
