From: Vinson Lee Date: Mon, 5 Nov 2018 18:50:41 +0000 (-0800) Subject: st/xvmc: Add X11 include path. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4f74580d3038eca1b751a71e0c098ea9eb9cdb05;p=mesa.git st/xvmc: Add X11 include path. This patch fixes this build error. CC tests/xvmc_bench.o In file included from tests/xvmc_bench.c:35: tests/testlib.h:38:10: fatal error: 'X11/Xlib.h' file not found ^~~~~~~~~~~~ Signed-off-by: Vinson Lee Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Emil Velikov --- diff --git a/src/gallium/state_trackers/xvmc/Makefile.am b/src/gallium/state_trackers/xvmc/Makefile.am index 85d0b5f4953..dc278099030 100644 --- a/src/gallium/state_trackers/xvmc/Makefile.am +++ b/src/gallium/state_trackers/xvmc/Makefile.am @@ -27,6 +27,7 @@ AM_CFLAGS = \ $(GALLIUM_CFLAGS) \ $(VISIBILITY_CFLAGS) \ $(VL_CFLAGS) \ + $(X11_INCLUDES) \ $(XCB_DRI3_CFLAGS) \ $(XVMC_CFLAGS)