[PATCH weston 08/10] weston-test: fix build when mesa egl extensions are not defined

Pekka Paalanen ppaalanen at gmail.com
Thu Aug 28 03:50:38 PDT 2014


On Mon, 25 Aug 2014 20:56:50 +0200
rawoul at gmail.com wrote:

> From: Arnaud Vrac <avrac at freebox.fr>
> 
> ---
>  tests/weston-test.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/weston-test.c b/tests/weston-test.c
> index f1e45c1..5c6fd47 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 {

Hi,

I think this too needs an addition in Makefile.am, so that when
weston-egl-ext.h is modified, all dependent parts get automatically
rebuilt.

Also including stuff from ..src/ is a bit funny and there is also
clients/nested.c needing this, so it might be better to move
weston-egl-ext.h into shared/.


Thanks,
pq


More information about the wayland-devel mailing list