summaryrefslogtreecommitdiff
path: root/src/savage_hwmc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-07-16 03:39:32 +0100
committerDave Airlie <airlied@redhat.com>2012-07-16 03:39:32 +0100
commitd7edd7c545473d5ed80c9a46c1405042267a7293 (patch)
treeca9aff52ee6c2db4bc602ab8cd2adcac7be6d8c3 /src/savage_hwmc.c
parent508e0742b7d1ac1e4ff6b648d19bfa062c535d61 (diff)
savage: make build with no xaa server.
This fixes savage build against the no XAA server. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/savage_hwmc.c')
-rw-r--r--src/savage_hwmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/savage_hwmc.c b/src/savage_hwmc.c
index 2dea4df..d1e5553 100644
--- a/src/savage_hwmc.c
+++ b/src/savage_hwmc.c
@@ -40,8 +40,9 @@
#include "xf86xvmc.h"
#include <X11/extensions/Xv.h>
#include <X11/extensions/XvMC.h>
-#include "xaa.h"
+#ifdef HAVE_XAA_H
#include "xaalocal.h"
+#endif
#include "dixstruct.h"
#include "fourcc.h"