summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-05-24 17:48:04 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-05-26 16:34:29 +0200
commit18647db9e275e7aa3e002551237abae756a2afb9 (patch)
treecd384ae116f5c818ddee5ea50654858c186a5e87 /src
parent0e1dcef53d9d8465ce97d31ad11be4445a6e7eb8 (diff)
downloadsssd-18647db9e275e7aa3e002551237abae756a2afb9.tar.gz
sssd-18647db9e275e7aa3e002551237abae756a2afb9.tar.xz
sssd-18647db9e275e7aa3e002551237abae756a2afb9.zip
SBUS: Define DBUS_ERROR_INIT for old version of dbus
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/sbus/sssd_dbus.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sbus/sssd_dbus.h b/src/sbus/sssd_dbus.h
index 4ae64f054..7d3670360 100644
--- a/src/sbus/sssd_dbus.h
+++ b/src/sbus/sssd_dbus.h
@@ -50,6 +50,10 @@ struct sbus_request;
"org.freedesktop.DBus.Error.PropertyReadOnly"
#endif /* DBUS_ERROR_PROPERTY_READ_ONLY */
+#ifndef DBUS_ERROR_INIT
+#define DBUS_ERROR_INIT { NULL, NULL, TRUE, 0, 0, 0, 0, NULL }
+#endif /* DBUS_ERROR_INIT */
+
typedef int (*sbus_msg_handler_fn)(struct sbus_request *dbus_req,
void *instance_data);