summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/radeon_exa.c2
-rw-r--r--src/radeon_exa_funcs.c2
-rw-r--r--src/radeon_probe.h3
3 files changed, 6 insertions, 1 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index ae681462..c5943de1 100644
--- a/src/radeon_exa.c
+++ b/src/radeon_exa.c
@@ -222,7 +222,7 @@ int RADEONBiggerCrtcArea(PixmapPtr pPix)
#if X_BYTE_ORDER == X_BIG_ENDIAN
-static unsigned long swapper_surfaces[6];
+static unsigned long swapper_surfaces[3];
static Bool RADEONPrepareAccess(PixmapPtr pPix, int index)
{
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c
index dec02856..eb16036c 100644
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
@@ -56,6 +56,8 @@
#include "radeon.h"
+#include "exa.h"
+
static int
FUNC_NAME(RADEONMarkSync)(ScreenPtr pScreen)
{
diff --git a/src/radeon_probe.h b/src/radeon_probe.h
index 49044e36..f072b9c7 100644
--- a/src/radeon_probe.h
+++ b/src/radeon_probe.h
@@ -43,6 +43,9 @@
#include "xf86Crtc.h"
+#ifdef USE_EXA
+#include "exa.h"
+#endif
#ifdef USE_XAA
#include "xaa.h"
#endif