[tracker/gdbus-store: 1/12] libtracker-common: Do not include libdbus headers with NO_LIBDBUS



commit 7dbe4f2865f9101a05a2645c077cd72d816a39a3
Author: Jürg Billeter <j bitron ch>
Date:   Wed Jan 12 12:00:54 2011 +0100

    libtracker-common: Do not include libdbus headers with NO_LIBDBUS

 src/libtracker-common/tracker-dbus.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-common/tracker-dbus.h b/src/libtracker-common/tracker-dbus.h
index 0d9c5ca..d6bec85 100644
--- a/src/libtracker-common/tracker-dbus.h
+++ b/src/libtracker-common/tracker-dbus.h
@@ -24,9 +24,11 @@
 
 #include <gio/gio.h>
 
+#ifndef NO_LIBDBUS
 #include <dbus/dbus.h>
 #include <dbus/dbus-glib-lowlevel.h>
 #include <dbus/dbus-glib.h>
+#endif
 
 G_BEGIN_DECLS
 



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