summaryrefslogtreecommitdiff
path: root/src/savage_driver.h
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_driver.h
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_driver.h')
-rw-r--r--src/savage_driver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/savage_driver.h b/src/savage_driver.h
index d51b2a1..b604292 100644
--- a/src/savage_driver.h
+++ b/src/savage_driver.h
@@ -63,7 +63,10 @@
#include "fboverlay.h"
#include "xf86cmap.h"
#include "vbe.h"
+#ifdef HAVE_XAA_H
#include "xaa.h"
+#endif
+#include "xf86fbman.h"
#include "exa.h"
#include "xf86xv.h"
@@ -421,7 +424,9 @@ typedef struct _Savage {
unsigned long sbd_high;
/* Support for XAA acceleration */
+#ifdef HAVE_XAA_H
XAAInfoRecPtr AccelInfoRec;
+#endif
xRectangle Rect;
unsigned int SavedBciCmd;
unsigned int SavedFgColor;