From 1718ba30e560d4b083ee5379b84d190315fd998f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 18 Jul 2014 16:25:45 -0700 Subject: 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 --- 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 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 = \ -- cgit v1.2.3