mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-07 05:34:56 +00:00
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>
This commit is contained in:
parent
4e2fa0abc3
commit
e338ced1e0
|
@ -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" {
|
||||
|
|
Loading…
Reference in a new issue