st/xvmc: Add X11 include path.
authorVinson Lee <vlee@freedesktop.org>
Mon, 5 Nov 2018 18:50:41 +0000 (10:50 -0800)
committerVinson Lee <vlee@freedesktop.org>
Sat, 1 Dec 2018 06:09:43 +0000 (22:09 -0800)
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 <vlee@freedesktop.org>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/state_trackers/xvmc/Makefile.am

index 85d0b5f4953d95f713ee236b0b6d02fc27ac9a3c..dc27809903088690109b73b751e650519647e1c8 100644 (file)
@@ -27,6 +27,7 @@ AM_CFLAGS = \
        $(GALLIUM_CFLAGS) \
        $(VISIBILITY_CFLAGS) \
        $(VL_CFLAGS) \
+       $(X11_INCLUDES) \
        $(XCB_DRI3_CFLAGS) \
        $(XVMC_CFLAGS)