[Mesa-dev] [PATCH] gbm: Fix gallium build when X11 is in a non-system directory

Eric Anholt eric at anholt.net
Sat Aug 9 11:10:08 PDT 2014


pipe-loader.h will include Xlib.h when HAVE_PIPE_LOADER_XLIB is set in the
build.
---
 src/gallium/state_trackers/gbm/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/state_trackers/gbm/Makefile.am b/src/gallium/state_trackers/gbm/Makefile.am
index 4d9f3fe..50995b3 100644
--- a/src/gallium/state_trackers/gbm/Makefile.am
+++ b/src/gallium/state_trackers/gbm/Makefile.am
@@ -25,6 +25,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
 	$(GALLIUM_CFLAGS) \
+	$(X11_INCLUDES) \
 	$(VISIBILITY_CFLAGS)
 
 AM_CPPFLAGS = \
-- 
2.0.1



More information about the mesa-dev mailing list