[tracker/gdbus: 1/92] libtracker-common: Do not include libdbus headers with NO_LIBDBUS
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus: 1/92] libtracker-common: Do not include libdbus headers with NO_LIBDBUS
- Date: Mon, 17 Jan 2011 09:31:44 +0000 (UTC)
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]