summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-07-11 17:31:53 +0100
committerKeith Packard <keithp@keithp.com>2012-07-12 08:22:29 -0700
commit8b820f221ad54eb96a16c7060048abc8824371b6 (patch)
treeed67d91ae72abf12344370cc06c911bf0cd80edc
parentdeb08658e2a6b1647a7213a316c6f3019bcdce48 (diff)
sdksyms: Fix build with --disable-xv
I hate this [redacted] script. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Tested-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
-rwxr-xr-xhw/xfree86/sdksyms.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/sdksyms.sh b/hw/xfree86/sdksyms.sh
index c0398da18..07372ad1c 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