File U_savage-move-compat-api.h-down-to-proper-place.patch of Package xf86-video-savage

From 3d181030a6ba2205a57ef4665e53aed0251ccaa6 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@gmail.com>
Date: Wed, 18 Jul 2012 18:52:38 +1000
Subject: [PATCH 1/2] 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>
---
 src/savage_driver.h |    4 ++--
 1 file 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,
-- 
1.7.10.4

openSUSE Build Service is sponsored by