[PATCH wayland] wayland-shm: Include wayland-util.h

Yong Bakos junk at humanoriented.com
Sat May 21 04:18:36 UTC 2016

From: Yong Bakos <ybakos at humanoriented.com>

wayland-shm.c uses WL_EXPORT and wl_array, which are defined in

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

Signed-off-by: Yong Bakos <ybakos at humanoriented.com>
 src/wayland-shm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/wayland-shm.c b/src/wayland-shm.c
index 5efbd70..20bb8c8 100644
--- a/src/wayland-shm.c
+++ b/src/wayland-shm.c
@@ -40,6 +40,7 @@
 #include <signal.h>
 #include <pthread.h>
+#include "wayland-util.h"
 #include "wayland-private.h"
 #include "wayland-server.h"

More information about the wayland-devel mailing list