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



commit 0eaa16dca072070e6c7952dd435deb0ba28ab958
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]