[PATCH wayland] event-loop: Include wayland-util.h

Yong Bakos junk at humanoriented.com
Sat May 21 04:23:58 UTC 2016


From: Yong Bakos <ybakos at humanoriented.com>

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 at humanoriented.com>
---
 src/event-loop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/event-loop.c b/src/event-loop.c
index 11a9bf2..7f1c7e5 100644
--- a/src/event-loop.c
+++ b/src/event-loop.c
@@ -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"
-- 
2.7.2



More information about the wayland-devel mailing list