diff options
author | Krzysztof Konopko <kris@youview.com> | 2016-09-15 13:01:49 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-09-26 16:50:31 +0300 |
commit | e338ced1e04bf4b97322d5eed2b5bdf5b052095a (patch) | |
tree | 874e8e8d4627706b9a7c6694a02ecca6fbeb657b | |
parent | 4e2fa0abc3bd359a309a4f215d528156751ff819 (diff) | |
download | weston-e338ced1e04bf4b97322d5eed2b5bdf5b052095a.tar.gz weston-e338ced1e04bf4b97322d5eed2b5bdf5b052095a.tar.bz2 weston-e338ced1e04bf4b97322d5eed2b5bdf5b052095a.zip |
shared/platform: include weston-egl-ext.h only if ENABLE_EGL is defined
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@youview.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
-rw-r--r-- | shared/platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/platform.h b/shared/platform.h index 1eb96fda..30db1a6d 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" { |