aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/render/egl.h3
-rw-r--r--include/wlr/render/interface.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h
index d46d95af..b2393177 100644
--- a/include/wlr/render/egl.h
+++ b/include/wlr/render/egl.h
@@ -15,6 +15,9 @@
#ifndef EGL_NO_X11
#define EGL_NO_X11
#endif
+#ifndef EGL_NO_PLATFORM_SPECIFIC_TYPES
+#define EGL_NO_PLATFORM_SPECIFIC_TYPES
+#endif
#include <wlr/config.h>
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index 93c987b7..998b1cfa 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -15,6 +15,9 @@
#ifndef EGL_NO_X11
#define EGL_NO_X11
#endif
+#ifndef EGL_NO_PLATFORM_SPECIFIC_TYPES
+#define EGL_NO_PLATFORM_SPECIFIC_TYPES
+#endif
#include <EGL/egl.h>
#include <EGL/eglext.h>