1 From 62e178ddae24c7633d2a03b129dc52261e0a15bf Mon Sep 17 00:00:00 2001
2 From: Khem Raj <raj.khem@gmail.com>
3 Date: Wed, 7 Feb 2018 00:48:03 -0800
4 Subject: [PATCH] Define MESA_EGL_NO_X11_HEADERS before including eglplatform.h
7 This helps in compiling when GL implementations e.g. mesa use
8 this define to exclude X11 headers
10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 Upstream-Status: Submitted [https://github.com/anholt/libepoxy/pull/153]
14 src/dispatch_common.h | 3 +++
15 1 file changed, 3 insertions(+)
17 Index: libepoxy-1.4.3/src/dispatch_common.h
18 ===================================================================
19 --- libepoxy-1.4.3.orig/src/dispatch_common.h
20 +++ libepoxy-1.4.3/src/dispatch_common.h
22 #include "epoxy/glx.h"
25 +#if !PLATFORM_HAS_GLX
26 +#define MESA_EGL_NO_X11_HEADERS 1
28 #include "epoxy/egl.h"