summaryrefslogtreecommitdiff
path: root/src/cir.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-13 14:47:40 +1000
committerDave Airlie <airlied@gmail.com>2012-07-13 14:47:40 +1000
commite443ede15981549ff5f6b01f42c3cb8dc909d778 (patch)
tree0d9bca6a6f8e4a0250c65b71a4724788ef71a630 /src/cir.h
parent46a9e962c6f33509e89d664115a9a2db51c9b67d (diff)
cirrus: handle server with no XAA
this fixes cirrus to work with a server with no XAA module. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/cir.h')
-rw-r--r--src/cir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cir.h b/src/cir.h
index 3915a31..0a5d403 100644
--- a/src/cir.h
+++ b/src/cir.h
@@ -4,7 +4,9 @@
#define CIR_H
#include "xf86Cursor.h"
+#ifdef HAVE_XAA_H
#include "xaa.h"
+#endif
#include "xf86i2c.h"
#include <string.h>
#include <stdlib.h>
@@ -44,7 +46,9 @@ typedef struct {
Bool NoAccel;
Bool HWCursor;
Bool UseMMIO;
+#ifdef HAVE_XAA_H
XAAInfoRecPtr AccelInfoRec;
+#endif
xf86CursorInfoPtr CursorInfoRec;
int DGAnumModes;
DGAModePtr DGAModes;