event-loop: Include wayland-util.h
authorYong Bakos <ybakos@humanoriented.com>
Sat, 21 May 2016 04:23:58 +0000 (22:23 -0600)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 7 Jun 2016 13:07:08 +0000 (16:07 +0300)
event-loop.c uses WL_EXPORT and wl_list, which are defined in
wayland-util.h.

Include wayland-util.h explicitly, rather than transitively through
wayland-server-core.h.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Sam Spilsbury <smspillaz@gmail.com>
src/event-loop.c

index 11a9bf2..7f1c7e5 100644 (file)
@@ -36,6 +36,7 @@
 #include <sys/signalfd.h>
 #include <sys/timerfd.h>
 #include <unistd.h>
+#include "wayland-util.h"
 #include "wayland-private.h"
 #include "wayland-server-core.h"
 #include "wayland-os.h"