aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/egl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/render/egl.h')
-rw-r--r--include/wlr/render/egl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index 50432887..c810b08e 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -16,10 +16,14 @@
#define EGL_NO_X11
#endif
+#include <wlr/config.h>
+
#include <EGL/egl.h>
#include <EGL/eglext.h>
+#if WLR_HAS_EGLMESAEXT_H
// TODO: remove eglmesaext.h
#include <EGL/eglmesaext.h>
+#endif
#include <pixman.h>
#include <stdbool.h>
#include <wayland-server-core.h>