diff options
author | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | 2010-11-08 14:37:37 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | 2010-12-23 13:16:43 +0200 |
commit | 96338eec28ce9af97965a177eeecd6daebd208f5 (patch) | |
tree | 6154f472c467544705fdd45a2fd528287e008e70 /src/modules/bluetooth | |
parent | 07eea95dc100e9494fc3af2298488af14f394c9c (diff) |
bluetooth: fix build for libdbus < 1.3
Diffstat (limited to 'src/modules/bluetooth')
-rw-r--r-- | src/modules/bluetooth/bluetooth-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c index 53545209..47e0fd50 100644 --- a/src/modules/bluetooth/bluetooth-util.c +++ b/src/modules/bluetooth/bluetooth-util.c @@ -955,12 +955,14 @@ int pa_bluetooth_transport_acquire(const pa_bluetooth_transport *t, const char * return -1; } +#ifdef DBUS_TYPE_UNIX_FD if (!dbus_message_get_args(r, &err, DBUS_TYPE_UNIX_FD, &ret, DBUS_TYPE_INVALID)) { pa_log("Failed to parse org.bluez.MediaTransport.Acquire(): %s", err.message); ret = -1; dbus_error_free(&err); goto fail; } +#endif fail: dbus_message_unref(r); |