[PATCH] sdksyms: Fix build with --disable-xv

Daniel Stone daniel at fooishbar.org
Wed Jul 11 09:31:53 PDT 2012


I hate this [redacted] script.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
 hw/xfree86/sdksyms.sh |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh
index c0398da..07372ad 100755
--- a/hw/xfree86/sdksyms.sh
+++ b/hw/xfree86/sdksyms.sh
@@ -46,8 +46,10 @@ cat > sdksyms.c << EOF
 #include "misyncstr.h"
 
 /* Xext/Makefile.am -- half is module, half is builtin */
+#ifdef XV
 #include "xvdix.h"
 #include "xvmcext.h"
+#endif
 #include "geext.h"
 #include "geint.h"
 #ifdef MITSHM
-- 
1.7.10.4



More information about the xorg-devel mailing list