[PATCH weston 1/2] tests: Include weston-egl-ext from weston-test

Daniel Stone daniels at collabora.com
Wed Feb 11 10:15:17 PST 2015

weston-test uses eglBindWaylandDisplayWL and friends, which are defined
either by the EGL implementation, or weston-egl-ext.h as a fallback.
Include weston-egl-ext.h from weston-test, so we can build on systems
whose native EGL implementation doesn't give us the needed defines.

Signed-off-by: Daniel Stone <daniels at collabora.com>
 tests/weston-test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/weston-test.c b/tests/weston-test.c
index 77eaa23..8777f70 100644
--- a/tests/weston-test.c
+++ b/tests/weston-test.c
@@ -33,6 +33,7 @@
 #ifdef ENABLE_EGL
 #include <EGL/egl.h>
 #include <EGL/eglext.h>
+#include "../src/weston-egl-ext.h"
 #endif /* ENABLE_EGL */
 struct weston_test {

More information about the wayland-devel mailing list