summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/r128_exa_render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/r128_exa_render.c b/src/r128_exa_render.c
index 5f265e3..0d81a09 100644
--- a/src/r128_exa_render.c
+++ b/src/r128_exa_render.c
@@ -38,6 +38,7 @@
#include "config.h"
#endif
+#if defined(R128DRI) && defined(RENDER)
#include "xf86.h"
#include "exa.h"
@@ -742,3 +743,4 @@ R128CCEComposite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, int d
ADVANCE_RING();
}
+#endif