Protect against redefining MESA_EGL_NO_X11_HEADERS

master
Jente Hidskes 6 years ago committed by emersion
parent b6b1bf9490
commit ed5296c6cf

@ -11,7 +11,7 @@
#include <wlr/config.h> #include <wlr/config.h>
#if !WLR_HAS_X11_BACKEND && !WLR_HAS_XWAYLAND #if !WLR_HAS_X11_BACKEND && !WLR_HAS_XWAYLAND && !defined MESA_EGL_NO_X11_HEADERS
#define MESA_EGL_NO_X11_HEADERS #define MESA_EGL_NO_X11_HEADERS
#endif #endif

@ -11,7 +11,7 @@
#include <wlr/config.h> #include <wlr/config.h>
#if !WLR_HAS_X11_BACKEND && !WLR_HAS_XWAYLAND #if !WLR_HAS_X11_BACKEND && !WLR_HAS_XWAYLAND && !defined MESA_EGL_NO_X11_HEADERS
#define MESA_EGL_NO_X11_HEADERS #define MESA_EGL_NO_X11_HEADERS
#endif #endif

Loading…
Cancel
Save