From f910956a3cc1795ac63cbc23ccb984d2656071ce Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 15 May 2008 18:55:17 +0300 Subject: [PATCH] BluetoothScan: Add D-Bus items only if required --- src/bluetooth-scan.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bluetooth-scan.h b/src/bluetooth-scan.h index bccc3ef..0645f9a 100644 --- a/src/bluetooth-scan.h +++ b/src/bluetooth-scan.h @@ -3,7 +3,9 @@ #include "config.h" +#if defined(WITH_HILDON_DBUS_BT) || defined(WITH_BLUEZ_DBUS_BT) #include +#endif #include "utils.h" #include "gps.h" @@ -17,7 +19,7 @@ struct _ScanInfo { GtkWidget *banner; GtkListStore *store; guint sid; -#ifdef WITH_HILDON_DBUS_BT +#if defined(WITH_HILDON_DBUS_BT) || defined(WITH_BLUEZ_DBUS_BT) DBusGProxy *req_proxy; DBusGProxy *sig_proxy; #endif -- 2.39.5