diff options
author | Kay Sievers <kay@vrfy.org> | 2013-11-06 02:03:05 +0100 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-11-06 02:03:05 +0100 |
commit | 2270309471213a3c960543e523130627e9cb10e2 (patch) | |
tree | 78ca05a88aebf62fb2f91a0e3b5a5d493e8c392d /src | |
parent | 95b015de3849d8d8d03d9441ae1682a04c38833b (diff) |
bus: test-bus-marshal - make dbus-1 optional
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-bus/test-bus-marshal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd-bus/test-bus-marshal.c b/src/libsystemd-bus/test-bus-marshal.c index 2a27e623f6..ae61476d57 100644 --- a/src/libsystemd-bus/test-bus-marshal.c +++ b/src/libsystemd-bus/test-bus-marshal.c @@ -27,7 +27,9 @@ #include <gio/gio.h> #endif +#ifdef HAVE_DBUS #include <dbus.h> +#endif #include "log.h" #include "util.h" @@ -126,6 +128,7 @@ int main(int argc, char *argv[]) { } #endif +#ifdef HAVE_DBUS { DBusMessage *w; DBusError error; @@ -138,6 +141,7 @@ int main(int argc, char *argv[]) { } else dbus_message_unref(w); } +#endif m = sd_bus_message_unref(m); |