summaryrefslogtreecommitdiffstats
path: root/src/ivi-compositor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r--src/ivi-compositor.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index 3765f65..68cbbdf 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -27,6 +27,7 @@
#define IVI_COMPOSITOR_H
#include <stdbool.h>
+#include "config.h"
#include <libweston-6/compositor-drm.h>
#include <libweston-6/compositor.h>
@@ -174,6 +175,16 @@ struct ivi_shell_client {
struct ivi_compositor *
to_ivi_compositor(struct weston_compositor *ec);
+#ifdef HAVE_SYSTEMD
+int
+ivi_agl_systemd_notify(struct ivi_compositor *ivi);
+#else
+static int
+ivi_agl_systemd_notify(struct ivi_compositor *ivi)
+{
+}
+#endif
+
int
ivi_shell_init(struct ivi_compositor *ivi);