summaryrefslogtreecommitdiff
path: root/src/ffb.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-16 19:12:32 +1000
committerDave Airlie <airlied@gmail.com>2012-07-16 19:12:32 +1000
commit079960018061e5ae261ee7f627c6afb859177ef4 (patch)
tree4413dcac374a2ed5fcfdb1094db8d3139ab2d2f1 /src/ffb.h
parent5954960d4bbaee9ee4d2d3a4d1ca9a93d02f6697 (diff)
sunffb: fix XAA-less build.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/ffb.h')
-rw-r--r--src/ffb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ffb.h b/src/ffb.h
index 14edcbe..67a2d87 100644
--- a/src/ffb.h
+++ b/src/ffb.h
@@ -31,7 +31,9 @@
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86RamDac.h"
+#ifdef HAVE_XAA_H
#include "xaa.h"
+#endif
#include <X11/Xmd.h>
#include "gcstruct.h"
#include "windowstr.h"
@@ -174,7 +176,9 @@ typedef struct {
unsigned char has_double_buffer;
/* XAA related info */
+#ifdef HAVE_XAA_H
XAAInfoRecPtr pXAAInfo;
+#endif
unsigned int xaa_fbc;
unsigned int xaa_wid;
unsigned int xaa_planemask;