From ed5296c6cf23efa07f78e1657cec1528f638f95e Mon Sep 17 00:00:00 2001 From: Jente Hidskes Date: Sat, 22 Dec 2018 16:51:29 +0100 Subject: [PATCH] Protect against redefining MESA_EGL_NO_X11_HEADERS --- include/wlr/render/egl.h | 2 +- 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 -#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 -#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