summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@freedesktop.org>2006-01-08 19:02:16 +0000
committerAdam Jackson <ajax@freedesktop.org>2006-01-08 19:02:16 +0000
commit28a5efc85cd733c469b94d1125b6e5ea6596d167 (patch)
tree3b00c3c20a0f6f47e841afcaaded59403b5154ba
parent909c022737f35c6f60fc14051d2d07a08562587c (diff)
Bug #5523: Make radeon compile without USE_XAA. (Tilman Sauerbeck)
-rw-r--r--ChangeLog5
-rw-r--r--src/radeon.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 31b6e24..0c398d8 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 2c8b8ab..57db4e9 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