summaryrefslogtreecommitdiff
path: root/src/apm_accel.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-13 14:54:06 +1000
committerDave Airlie <airlied@gmail.com>2012-07-13 15:09:29 +1000
commitd9a3071242724325d4e3672b3e70d8457f993f78 (patch)
treeca25df3c7d8c4c8b973fcca778736fc94f8332b5 /src/apm_accel.c
parent01bdd7d3d18f5d5c94aa99ccd7677f5928b37392 (diff)
apm: handle xaa removal
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/apm_accel.c')
-rw-r--r--src/apm_accel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apm_accel.c b/src/apm_accel.c
index ed73d8d..140b44e 100644
--- a/src/apm_accel.c
+++ b/src/apm_accel.c
@@ -6,6 +6,7 @@
#include "apm.h"
#include "miline.h"
+#ifdef HAVE_XAA_H
/* Defines */
#define MAXLOOP 1000000
@@ -563,3 +564,4 @@ void ApmSetupXAAInfo(ApmPtr pApm, XAAInfoRecPtr pXAAinfo)
#undef XAA
}
}
+#endif