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



commit 3856c49a8f29d96ed1f06171684be52624b0e9dc
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]