summaryrefslogtreecommitdiff
path: root/src/evergreen_accel.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-10-07 17:25:47 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-10-07 17:25:47 -0400
commit8c544272f218fd8bd93a898b96afedc2498b27bb (patch)
tree57df75c823c4a0c090cf5305c3b9e3933257e5f1 /src/evergreen_accel.c
parent81360adffb2a66b9a95a38671f9227a9718c9841 (diff)
fix the non-kms build
Should fix: https://bugs.freedesktop.org/show_bug.cgi?id=30685
Diffstat (limited to 'src/evergreen_accel.c')
-rw-r--r--src/evergreen_accel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evergreen_accel.c b/src/evergreen_accel.c
index 38666eef..92d7fa10 100644
--- a/src/evergreen_accel.c
+++ b/src/evergreen_accel.c
@@ -27,6 +27,8 @@
#include "config.h"
#endif
+#ifdef XF86DRM_MODE
+
#include "xf86.h"
#include <errno.h>
@@ -1110,3 +1112,4 @@ void evergreen_finish_op(ScrnInfoPtr pScrn, int vtx_size)
}
+#endif