Merge pull request #1364 from ManDay/master
Tell Mesa not to attempt X11 headers
This commit is contained in:
commit
ca570fa63c
|
@ -9,6 +9,12 @@
|
||||||
#ifndef WLR_RENDER_EGL_H
|
#ifndef WLR_RENDER_EGL_H
|
||||||
#define WLR_RENDER_EGL_H
|
#define WLR_RENDER_EGL_H
|
||||||
|
|
||||||
|
#include <wlr/config.h>
|
||||||
|
|
||||||
|
#if !(defined(WLR_HAS_X11_BACKEND) || defined(WLR_HAS_WAYLAND))
|
||||||
|
#define MESA_EGL_NO_X11_HEADERS
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
#include <pixman.h>
|
#include <pixman.h>
|
||||||
|
|
|
@ -9,6 +9,12 @@
|
||||||
#ifndef WLR_RENDER_INTERFACE_H
|
#ifndef WLR_RENDER_INTERFACE_H
|
||||||
#define WLR_RENDER_INTERFACE_H
|
#define WLR_RENDER_INTERFACE_H
|
||||||
|
|
||||||
|
#include <wlr/config.h>
|
||||||
|
|
||||||
|
#if !(defined(WLR_HAS_X11_BACKEND) || defined(WLR_HAS_WAYLAND))
|
||||||
|
#define MESA_EGL_NO_X11_HEADERS
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
Loading…
Reference in New Issue