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>
dev
Daniel Stone 10 years ago committed by Bryce Harrington
parent a9d0b6836e
commit e78977196c
  1. 1
      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 {

Loading…
Cancel
Save