diff options
author | Jente Hidskes <hjdskes@gmail.com> | 2018-12-22 16:51:29 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-12-22 19:05:19 +0100 |
commit | ed5296c6cf23efa07f78e1657cec1528f638f95e (patch) | |
tree | 8dd70e58ddc00af27795b0a8680ab347da7797aa /include/wlr | |
parent | b6b1bf94900fca760a839796794161a2160a9f89 (diff) |
Protect against redefining MESA_EGL_NO_X11_HEADERS
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/render/egl.h | 2 | ||||
-rw-r--r-- | include/wlr/render/interface.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/render/egl.h b/include/wlr/render/egl.h index fedb6fdd..269af7e2 100644 --- a/include/wlr/render/egl.h +++ b/include/wlr/render/egl.h @@ -11,7 +11,7 @@ #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 #endif diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index a7f97a89..c98a7cda 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -11,7 +11,7 @@ #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 #endif |