edbus: fix compilation on Windows.
authorCedric Bail <cedric.bail@free.fr>
Fri, 15 Mar 2013 08:32:20 +0000 (09:32 +0100)
committerCedric Bail <cedric.bail@free.fr>
Sat, 16 Mar 2013 06:40:29 +0000 (15:40 +0900)
src/lib/edbus/edbus_core.c
src/lib/edbus/edbus_private.h
src/lib/edbus/edbus_private_types.h
src/lib/edbus/edbus_proxy.c
src/lib/edbus/edbus_service.c

index b7a77ea6952eae3283e54f68c7dc97c39081918f..55339f5f03a251cfdcfc3d8094d0c12faad11181 100644 (file)
@@ -4,9 +4,6 @@
 
 #include "edbus_private.h"
 #include "edbus_private_types.h"
-#include <dbus/dbus.h>
-
-#include <Ecore.h>
 
 #define EDBUS_CONNECTION_CHECK(conn)                        \
   do                                                        \
index 1a69c9f813ea3bc36596d8f93516bfc6d01674e9..a1ee0db4782cdb5d10754df1f8ddab0b9809f05a 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef EDBUS_PRIVATE_H
 #define EDBUS_PRIVATE_H
 
+#include <dbus/dbus.h>
 #include <Eina.h>
 #include "eina_safety_checks.h"
+#include <Ecore.h>
 #include "EDBus.h"
 #include "edbus_private_types.h"
 
index 54da7da1b57db6b9165e67b8fb14e18a0e4a4bad..760f1306eafc143cb93e6fcbb8aa73a3d5eddfeb 100644 (file)
@@ -1,11 +1,6 @@
 #ifndef EDBUS_PRIVATE_TYPES_H
 #define EDBUS_PRIVATE_TYPES_H 1
 
-#include "EDBus.h"
-#include <Eina.h>
-#include <dbus/dbus.h>
-#include <Ecore.h>
-
 typedef struct _EDBus_Connection_Name
 {
    const char *name;
index 298bcc3f3640c90c9e7c0cc278b9ff3aba37b54f..5b74a1184c5094294677b6173bf115c99b8108c8 100644 (file)
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "edbus_private.h"
 #include "edbus_private_types.h"
 
index bef480d453002dd05eef88890eb2e752f4b05b41..07912e057f220bee27edc29cd50218f7ac1e9fa1 100644 (file)
@@ -1,5 +1,9 @@
-#include "edbus_private_types.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "edbus_private.h"
+#include "edbus_private_types.h"
 
 #define DBUS_ANNOTATION(name, value) \
         "<annotation" \