#include <argos.h>
#include <systemd/sd-daemon.h>
#include <glib.h>
+#include <libgdbus/dbus-system.h>
#include "log.h"
#include "modules.h"
-#include "dbus.h"
#define WATCHDOG_TIMEOUT 15 /* Seconds */
return -ENOMEM;
}
- if (!dbus_handle_init(G_BUS_TYPE_SYSTEM, STORAGED_BUS_NAME)) {
+ if (!dbus_handle_init(G_BUS_TYPE_SYSTEM, STORAGED_BUS_NAME, NULL, NULL)) {
_E("Failed to set dbus connection (%s)", STORAGED_BUS_NAME);
return 0;
}