gbm: Fix gallium build when X11 is in a non-system directory
authorEric Anholt <eric@anholt.net>
Fri, 18 Jul 2014 23:25:45 +0000 (16:25 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 2 Sep 2014 20:48:54 +0000 (13:48 -0700)
pipe-loader.h will include Xlib.h when HAVE_PIPE_LOADER_XLIB is set in the
build.

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/state_trackers/gbm/Makefile.am

index 4d9f3fe1a5aaebe5b9f2910224a52f78cbf33044..50995b353034523577a8e8ba8b97e6bde7a593d2 100644 (file)
@@ -25,6 +25,7 @@ include $(top_srcdir)/src/gallium/Automake.inc
 
 AM_CFLAGS = \
        $(GALLIUM_CFLAGS) \
+       $(X11_INCLUDES) \
        $(VISIBILITY_CFLAGS)
 
 AM_CPPFLAGS = \