summaryrefslogtreecommitdiff
path: root/src/alp_xaam.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-13 14:47:40 +1000
committerDave Airlie <airlied@gmail.com>2012-07-13 14:47:40 +1000
commite443ede15981549ff5f6b01f42c3cb8dc909d778 (patch)
tree0d9bca6a6f8e4a0250c65b71a4724788ef71a630 /src/alp_xaam.c
parent46a9e962c6f33509e89d664115a9a2db51c9b67d (diff)
cirrus: handle server with no XAA
this fixes cirrus to work with a server with no XAA module. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/alp_xaam.c')
-rw-r--r--src/alp_xaam.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/alp_xaam.c b/src/alp_xaam.c
index 79f621d..8e9fd52 100644
--- a/src/alp_xaam.c
+++ b/src/alp_xaam.c
@@ -17,6 +17,7 @@
#define _ALP_PRIVATE_
#include "alp.h"
+#ifdef HAVE_XAA_H
#ifdef DEBUG
#define minb(p) \
(ErrorF("minb(%X)\n", p),\
@@ -266,7 +267,4 @@ AlpXAAInitMMIO(ScreenPtr pScreen)
return TRUE;
}
-
-
-
-
+#endif