diff options
Diffstat (limited to 'event-loop.c')
-rw-r--r-- | event-loop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/event-loop.c b/event-loop.c index f6252a8..98009f6 100644 --- a/event-loop.c +++ b/event-loop.c @@ -34,6 +34,7 @@ #include <unistd.h> #include <assert.h> #include "wayland.h" +#include "wayland-util.h" struct wl_event_loop { int epoll_fd; @@ -406,8 +407,6 @@ wl_event_loop_destroy(struct wl_event_loop *loop) free(loop); } -#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0]) - static void dispatch_idles(struct wl_event_loop *loop) { |