[glib/gwakeup] GWakeup: fix Windows build breakage



commit 39b72a166e72ebbafbb7e85383db954a31b929c2
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Jul 25 18:59:27 2011 +0200

    GWakeup: fix Windows build breakage
    
    ...from the attempt to make it private.

 glib/gwakeup.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/glib/gwakeup.c b/glib/gwakeup.c
index a65c2d0..2f191cb 100644
--- a/glib/gwakeup.c
+++ b/glib/gwakeup.c
@@ -62,9 +62,12 @@
 #ifdef _WIN32
 
 #include <windows.h>
+
+#ifdef GLIB_COMPILATION
 #include "gmessages.h"
 #include "giochannel.h"
 #include "gwin32.h"
+#endif
 
 GWakeup *
 g_wakeup_new (void)



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