[glibmm] Gio::DBus::Message: Fixed includes for WIN32



commit ce458b8884c3ed5f745769385ea33c3a879627b8
Author: Kalev Lember <kalev smartlink ee>
Date:   Mon May 2 13:28:02 2011 +0300

    Gio::DBus::Message: Fixed includes for WIN32
    
    * gio/src/dbusmessage.hg: Added G_OS_UNIX guards around unixfdlist.h
    include. Bug #649168

 ChangeLog              |    7 +++++++
 gio/src/dbusmessage.hg |    4 +++-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 75d5558..872345b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-02  Kalev Lember  <kalev smartlink ee>
+
+	Gio::DBus::Message: Fixed includes for WIN32
+
+	* gio/src/dbusmessage.hg: Added G_OS_UNIX guards around unixfdlist.h
+	include. Bug #649168
+
 2011-04-26  Kjell Ahlstedt  <kjell ahlstedt bredband net>
 
 	gmmproc: GtkDefs::split_tokens() uses split() instead of substr().
diff --git a/gio/src/dbusmessage.hg b/gio/src/dbusmessage.hg
index fe6c8cc..b692562 100644
--- a/gio/src/dbusmessage.hg
+++ b/gio/src/dbusmessage.hg
@@ -20,7 +20,9 @@
 #include <glibmm/object.h>
 #include <glibmm/variant.h>
 #include <glibmm/utility.h>
-#include <giomm/unixfdlist.h>
+#ifdef G_OS_UNIX
+# include <giomm/unixfdlist.h>
+#endif
 
 _DEFS(giomm,gio)
 _PINCLUDE(glibmm/private/object_p.h)



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