summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/radeon.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 31b6e247..0c398d80 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-08 Adam Jackson <ajax@freedesktop.org>
+
+ * src/radeon.h:
+ Bug #5523: Make radeon compile without USE_XAA. (Tilman Sauerbeck)
+
2005-12-20 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
diff --git a/src/radeon.h b/src/radeon.h
index 2c8b8ab4..57db4e93 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -41,6 +41,7 @@
#include "xf86str.h"
#include "xf86_ansic.h"
#include "compiler.h"
+#include "xf86fbman.h"
/* PCI support */
#include "xf86Pci.h"
@@ -50,7 +51,6 @@
#endif
#ifdef USE_XAA
#include "xaa.h"
-#include "xf86fbman.h"
#endif
/* Exa and Cursor Support */
@@ -399,14 +399,14 @@ typedef struct {
#ifdef USE_EXA
ExaDriverRec exa;
-#endif
-#ifdef USE_XAA
- XAAInfoRecPtr accel;
int engineMode;
#define EXA_ENGINEMODE_UNKNOWN 0
#define EXA_ENGINEMODE_2D 1
#define EXA_ENGINEMODE_3D 2
#endif
+#ifdef USE_XAA
+ XAAInfoRecPtr accel;
+#endif
Bool accelOn;
xf86CursorInfoPtr cursor;
#ifdef USE_EXA