summaryrefslogtreecommitdiff
path: root/cursor/wayland-cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'cursor/wayland-cursor.c')
-rw-r--r--cursor/wayland-cursor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c
index 0d1fec7..25e51c2 100644
--- a/cursor/wayland-cursor.c
+++ b/cursor/wayland-cursor.c
@@ -31,6 +31,8 @@
#include "os-compatibility.h"
+#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])
+
struct shm_pool {
struct wl_shm_pool *pool;
int fd;