chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: indicate in .pc file that we need libsystemd-id128 definitions
[elogind.git]
/
src
/
libsystemd-bus
/
test-bus-marshal.c
diff --git
a/src/libsystemd-bus/test-bus-marshal.c
b/src/libsystemd-bus/test-bus-marshal.c
index 2a27e623f64e4011e04347304e8e9871c3b448e9..ae61476d57d989eb5921f33f4137b62b10557e00 100644
(file)
--- 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);