From a997cfe90fae92d13bd1bf7e7f45f2a2381c9f11 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Tue, 26 Nov 2013 13:16:15 +0800 Subject: [PATCH] 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 --- gio/gdbusauthmechanismsha1.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gio/gdbusauthmechanismsha1.c b/gio/gdbusauthmechanismsha1.c index dae509e..36b16fe 100644 --- a/gio/gdbusauthmechanismsha1.c +++ b/gio/gdbusauthmechanismsha1.c @@ -26,6 +26,9 @@ #include #include #include + +#include + #ifdef G_OS_UNIX #include #endif @@ -33,8 +36,6 @@ #include #endif -#include - #include "gdbusauthmechanismsha1.h" #include "gcredentials.h" #include "gdbuserror.h" -- 2.7.4