From: Eric Anholt Date: Fri, 18 Jul 2014 23:25:45 +0000 (-0700) Subject: gbm: Fix gallium build when X11 is in a non-system directory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1718ba30e560d4b083ee5379b84d190315fd998f;p=mesa.git gbm: Fix gallium build when X11 is in a non-system directory pipe-loader.h will include Xlib.h when HAVE_PIPE_LOADER_XLIB is set in the build. Reviewed-by: Emil Velikov --- diff --git a/src/gallium/state_trackers/gbm/Makefile.am b/src/gallium/state_trackers/gbm/Makefile.am index 4d9f3fe1a5a..50995b35303 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 = \