1 From e338ced1e04bf4b97322d5eed2b5bdf5b052095a Mon Sep 17 00:00:00 2001
2 From: Krzysztof Konopko <kris@youview.com>
3 Date: Thu, 15 Sep 2016 13:01:49 +0200
4 Subject: [PATCH] shared/platform: include weston-egl-ext.h only if ENABLE_EGL
7 Including `weston-egl-ext.h` causes compilation failure for configurations
10 Verified with `--disable-egl`, `--disable-x11-compositor`
11 and `--disable-drm-compositor`.
13 Signed-off-by: Krzysztof Konopko <kris@youview.com>
14 Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
15 [yann.morin.1998@free.fr: backported from upstream]
16 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
18 shared/platform.h | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 diff --git a/shared/platform.h b/shared/platform.h
22 index 1eb96fd..30db1a6 100644
23 --- a/shared/platform.h
24 +++ b/shared/platform.h
26 #include <wayland-egl.h>
28 #include <EGL/eglext.h>
31 #include "weston-egl-ext.h"