summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-07-18 18:52:38 +1000
committerDave Airlie <airlied@gmail.com>2012-07-18 18:52:38 +1000
commit3d181030a6ba2205a57ef4665e53aed0251ccaa6 (patch)
tree7204e9451839767b6eb4aa929e26f4a7c5cd1dc4
parentcb27a7a072c6e087a2e272d84c1d569dc717da8b (diff)
savage: move compat-api.h down to proper place.
This screws up when DRI isn't enabled. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/savage_driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/savage_driver.h b/src/savage_driver.h
index b604292..ec4b1ea 100644
--- a/src/savage_driver.h
+++ b/src/savage_driver.h
@@ -85,8 +85,6 @@
#include "GL/glxint.h"
#include "xf86drm.h"
-#include "compat-api.h"
-
/* Totals 2 Mbytes which equals 2^16 32-byte vertices divided among up
* to 32 clients. */
#define SAVAGE_NUM_BUFFERS 32
@@ -153,6 +151,8 @@ typedef struct _server{
#endif
+#include "compat-api.h"
+
typedef enum {
MT_NONE,
MT_CRT,