Mesa (staging/18.3): st/xvmc: Add X11 include path.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Dec 3 18:33:05 UTC 2018


Module: Mesa
Branch: staging/18.3
Commit: ab83cfd2bfd551ca5520f0bdbdd3a4d245544ffc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ab83cfd2bfd551ca5520f0bdbdd3a4d245544ffc

Author: Vinson Lee <vlee at freedesktop.org>
Date:   Mon Nov  5 10:50:41 2018 -0800

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 <vlee at freedesktop.org>
Cc: mesa-stable at lists.freedesktop.org
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
(cherry picked from commit 4f74580d3038eca1b751a71e0c098ea9eb9cdb05)

---

 src/gallium/state_trackers/xvmc/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/state_trackers/xvmc/Makefile.am b/src/gallium/state_trackers/xvmc/Makefile.am
index 85d0b5f495..dc27809903 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)
 




More information about the mesa-commit mailing list