path: root/src/egl/drivers
diff options
authorGaetan Nadon <>2013-09-17 15:46:09 -0400
committerKenneth Graunke <>2013-09-19 10:49:47 -0700
commit092f2e83365c75d56f593400b38d51909bea56f4 (patch)
treea9a29b27c427cbaa3de66bdad47f6d0d6410c2df /src/egl/drivers
parent7dab097a515c019afa8e1e84af497e5e1e85be5d (diff)
glx: fix compile error in egl_glx.c.
egl_glx.c:40:22: fatal error: X11/Xlib.h: No such file or directory The compiler cannot find the Xlib.h in the installed system headers. All supplied include directives point to inside the mesa module. The X11_CFLAGS variable is undefined (not defined in config.status). It appears the intent was to use X11_INCLUDES defined in The Xlib.h file is not installed on my workstation. It is supplied in the libx11-dev package. This allows an X developer control over which version of this file is used for X development. Signed-off-by: Gaetan Nadon <> Reviewed-by: Kenneth Graunke <>
Diffstat (limited to 'src/egl/drivers')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/glx/ b/src/egl/drivers/glx/
index 6db95b40cd4..5dd52285dc0 100644
--- a/src/egl/drivers/glx/
+++ b/src/egl/drivers/glx/
@@ -23,7 +23,7 @@ AM_CFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/egl/main \
- $(X11_CFLAGS) \
+ $(X11_INCLUDES) \