This reverts commit
f2e00a07f49d6ad0e8d790396bcdea913592ce33.
Moving the block up would prevent G_OS_WIN32 being checked correctly as
it is a macro that is defined by including the GLib header(s), at least for
Visual C++ builds.
https://bugzilla.gnome.org/show_bug.cgi?id=691769
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef G_OS_WIN32
-#include <io.h>
-#endif
-
#include <glib/gstdio.h>
#undef G_LOG_DOMAIN
#include <glib.h>
#include <glib/gprintf.h>
+#ifdef G_OS_WIN32
+#include <io.h>
+#endif
+
/* --- defines --- */
#define PRG_NAME "glib-genmarshal"
#define PKG_NAME "GLib"