mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
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:
parent
03bf43e14a
commit
a997cfe90f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user