diff --git a/lib/services/pcmk-dbus.h b/lib/services/pcmk-dbus.h index 31bcf0eca70..e0713494bdd 100644 --- a/lib/services/pcmk-dbus.h +++ b/lib/services/pcmk-dbus.h @@ -8,6 +8,8 @@ #ifndef PCMK_DBUS__H # define PCMK_DBUS__H +# include + # ifndef DBUS_TIMEOUT_USE_DEFAULT # define DBUS_TIMEOUT_USE_DEFAULT -1 # endif diff --git a/lib/services/services_private.h b/lib/services/services_private.h index 0e12d1856bc..60b1b14ebce 100644 --- a/lib/services/services_private.h +++ b/lib/services/services_private.h @@ -19,6 +19,9 @@ #ifndef SERVICES_PRIVATE__H # define SERVICES_PRIVATE__H +# include +# include "crm/services.h" + #if SUPPORT_DBUS # include #endif diff --git a/lib/services/systemd.h b/lib/services/systemd.h index 17e654ec119..98150dd39ea 100644 --- a/lib/services/systemd.h +++ b/lib/services/systemd.h @@ -19,8 +19,11 @@ #ifndef SYSTEMD__H # define SYSTEMD__H +# include +# include "crm/services.h" + G_GNUC_INTERNAL GList *systemd_unit_listall(void); -G_GNUC_INTERNAL int systemd_unit_exec(svc_action_t * op); +G_GNUC_INTERNAL gboolean systemd_unit_exec(svc_action_t * op); G_GNUC_INTERNAL gboolean systemd_unit_exists(const gchar * name); G_GNUC_INTERNAL gboolean systemd_unit_running(const gchar * name); G_GNUC_INTERNAL void systemd_cleanup(void); diff --git a/lib/services/upstart.h b/lib/services/upstart.h index 523d2087e72..8d41c11f443 100644 --- a/lib/services/upstart.h +++ b/lib/services/upstart.h @@ -23,7 +23,7 @@ # include "crm/services.h" G_GNUC_INTERNAL GList *upstart_job_listall(void); -G_GNUC_INTERNAL int upstart_job_exec(svc_action_t * op, gboolean synchronous); +G_GNUC_INTERNAL gboolean upstart_job_exec(svc_action_t * op, gboolean synchronous); G_GNUC_INTERNAL gboolean upstart_job_exists(const gchar * name); G_GNUC_INTERNAL gboolean upstart_job_running(const gchar * name); G_GNUC_INTERNAL void upstart_cleanup(void);