[libsoup] Fix the win32 build



commit 9b9ed982a529fc68447a2640a92d73da35fa508c
Author: Kalev Lember <kalevlember gmail com>
Date:   Sun Sep 2 13:03:12 2012 +0200

    Fix the win32 build
    
    Make sure glib.h is included before using G_OS_WIN32 ifdef.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683200

 libsoup/soup-auth-digest.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c
index ccdbb2e..97ef561 100644
--- a/libsoup/soup-auth-digest.c
+++ b/libsoup/soup-auth-digest.c
@@ -10,14 +10,15 @@
 #endif
 
 #include <string.h>
-#ifdef G_OS_WIN32
-#include <process.h>
-#endif
 
 #include "soup-auth-digest.h"
 #include "soup.h"
 #include "soup-message-private.h"
 
+#ifdef G_OS_WIN32
+#include <process.h>
+#endif
+
 typedef struct {
 	char                    *user;
 	char                     hex_urp[33];



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]