>From 273433a29124db6f9c548fbea2dd07b19282f5ca Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Sat, 24 May 2014 17:48:04 +0200 Subject: [PATCH 2/6] SBUS: Define DBUS_ERROR_INIT for old version of dbus --- src/sbus/sssd_dbus.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sbus/sssd_dbus.h b/src/sbus/sssd_dbus.h index 4ae64f054cdcf0e4005d99d907b878abb85c7137..7d36703606d9d7204d0a945ce3f7ff9471560012 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); -- 1.9.3