summaryrefslogtreecommitdiff
path: root/src/nv_type.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-16 18:48:32 +1000
committerDave Airlie <airlied@gmail.com>2012-07-16 18:48:32 +1000
commite5e3e733d933fc3accdd6c3c7a02df5950530cae (patch)
treeb681c75b4536050a4165ed4f129db8ec8d21f14e /src/nv_type.h
parent713e9501b87465cf2a62c27605b6fc4a454dad95 (diff)
nv: make XAA optional.
This allows nv to build without XAA. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/nv_type.h')
-rw-r--r--src/nv_type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nv_type.h b/src/nv_type.h
index f7a32a0..65a6a55 100644
--- a/src/nv_type.h
+++ b/src/nv_type.h
@@ -3,7 +3,6 @@
#include "colormapst.h"
#include "vgaHW.h"
-#include "xaa.h"
#include "xf86Cursor.h"
#include "xf86int10.h"
@@ -126,8 +125,9 @@ typedef struct {
volatile U008 *PDIO0;
volatile U008 *PDIO;
volatile U032 *PRAMDAC;
-
+#ifdef HAVE_XAA_H
XAAInfoRecPtr AccelInfoRec;
+#endif
xf86CursorInfoPtr CursorInfoRec;
DGAModePtr DGAModes;
int numDGAModes;