gio/gdbusauthmechanismsha1.c: Move G_OS_* checks down

The G_OS_* checks are only valid if the GLib headers have been previously
included, so that io.h can be included properly on Windows
This commit is contained in:
Chun-wei Fan 2013-11-26 13:16:15 +08:00
parent 03bf43e14a
commit a997cfe90f

View File

@ -26,6 +26,9 @@
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
#include <glib/gstdio.h>
#ifdef G_OS_UNIX
#include <unistd.h>
#endif
@ -33,8 +36,6 @@
#include <io.h>
#endif
#include <glib/gstdio.h>
#include "gdbusauthmechanismsha1.h"
#include "gcredentials.h"
#include "gdbuserror.h"