diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index d46d95aff..b23931770 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 diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 93c987b7d..998b1cfa7 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 #include