[PATCH] shared/platform: include weston-egl-ext.h only if ENABLE_EGL is defined

Pekka Paalanen ppaalanen at gmail.com
Mon Sep 26 14:01:01 UTC 2016


On Thu, 15 Sep 2016 13:01:49 +0200
Krzysztof Konopko <kris at youview.com> wrote:

> Including `weston-egl-ext.h` causes compilation failure for configurations
> with EGL disabled.
> 
> Verified with `--disable-egl`, `--disable-x11-compositor`
> and `--disable-drm-compositor`.
> 
> Signed-off-by: Krzysztof Konopko <kris at youview.com>
> ---
>  shared/platform.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/shared/platform.h b/shared/platform.h
> index 1eb96fd..30db1a6 100644
> --- a/shared/platform.h
> +++ b/shared/platform.h
> @@ -33,9 +33,9 @@
>  #include <wayland-egl.h>
>  #include <EGL/egl.h>
>  #include <EGL/eglext.h>
> -#endif
> 
>  #include "weston-egl-ext.h"
> +#endif
> 
>  #ifdef  __cplusplus
>  extern "C" {
> --
> 2.1.4

R-b me and pushed:
   4e2fa0a..e338ced  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160926/c9902f08/attachment.sig>


More information about the wayland-devel mailing list