summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2018-10-22 20:46:20 -0700
committerKevin Brace <kevinbrace@gmx.com>2018-10-22 20:46:20 -0700
commit3c292d8f90eae03e6e6806a68a4f749bb39db9ba (patch)
tree4786ef88d338ba5b5d4b1d3d65af58aead04d962
parent9d62b878ce40d9b5f7887c63a4e2498a52253c36 (diff)
Fix for build failure when --disable-dri option is specified
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-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