summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2015-02-11 18:15:17 +0000
committerBryce Harrington <bryce@osg.samsung.com>2015-02-12 19:30:35 -0800
commite78977196c8a1c74990396f1c97a7a384145abc8 (patch)
tree9679414a1e70a996f87c7669f9ccd57f5540b0c5
parenta9d0b6836e69cccc072b894505b6db636117abd0 (diff)
downloadweston-e78977196c8a1c74990396f1c97a7a384145abc8.tar.gz
weston-e78977196c8a1c74990396f1c97a7a384145abc8.tar.bz2
weston-e78977196c8a1c74990396f1c97a7a384145abc8.zip
tests: Include weston-egl-ext from weston-test
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@collabora.com> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> Reviewed-by: Pekka Paalanen <ppaalanen@gmail.com>
-rw-r--r--tests/weston-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/weston-test.c b/tests/weston-test.c
index 77eaa237..8777f70e 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 {