diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index 2853f8ed..d0dcaf5b 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -9,16 +9,12 @@ #ifndef WLR_RENDER_EGL_H #define WLR_RENDER_EGL_H -#include - -#if !WLR_HAS_X11_BACKEND && !WLR_HAS_XWAYLAND #ifndef MESA_EGL_NO_X11_HEADERS #define MESA_EGL_NO_X11_HEADERS #endif #ifndef EGL_NO_X11 #define EGL_NO_X11 #endif -#endif #include #include diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 21c1e044..4e992077 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -9,16 +9,12 @@ #ifndef WLR_RENDER_INTERFACE_H #define WLR_RENDER_INTERFACE_H -#include - -#if !WLR_HAS_X11_BACKEND && !WLR_HAS_XWAYLAND #ifndef MESA_EGL_NO_X11_HEADERS #define MESA_EGL_NO_X11_HEADERS #endif #ifndef EGL_NO_X11 #define EGL_NO_X11 #endif -#endif #include #include