summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ivi-compositor.h2
-rw-r--r--src/main.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h
index 8631477..446390d 100644
--- a/src/ivi-compositor.h
+++ b/src/ivi-compositor.h
@@ -36,8 +36,6 @@
#include "agl-shell-server-protocol.h"
-#define ARRAY_LENGTH(x) (sizeof(x) / sizeof((x)[0]))
-
struct desktop_client {
struct wl_resource *resource;
struct wl_list link; /* ivi_compositor::desktop_clients */
diff --git a/src/main.c b/src/main.c
index 8c4b10b..f715280 100644
--- a/src/main.c
+++ b/src/main.c
@@ -47,6 +47,7 @@
#include <libweston/weston-log.h>
#include "shared/os-compatibility.h"
+#include "shared/helpers.h"
#include "agl-shell-server-protocol.h"