summaryrefslogtreecommitdiff
path: root/src/dbus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus.h')
-rw-r--r--src/dbus.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dbus.h b/src/dbus.h
index 255b653376..2aaeb4745f 100644
--- a/src/dbus.h
+++ b/src/dbus.h
@@ -24,6 +24,14 @@
#include <dbus/dbus.h>
+#ifndef DBUS_ERROR_UNKNOWN_OBJECT
+#define DBUS_ERROR_UNKNOWN_OBJECT "org.freedesktop.DBus.Error.UnknownObject"
+#endif
+
+#ifndef DBUS_ERROR_UNKNOWN_INTERFACE
+#define DBUS_ERROR_UNKNOWN_INTERFACE "org.freedesktop.DBus.Error.UnknownInterface"
+#endif
+
#include "manager.h"
typedef int (*BusPropertyCallback)(Manager *m, DBusMessageIter *iter, const char *property, void *data);