summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 18:27:10 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 18:27:10 +1000
commitf3387310f312a4a9e1d691974834c3d290c2fa32 (patch)
tree34fcda89d9a45de20c42653f730cb80d53df2c80
parent9bc0096f9de4b85ca6d6a5db109e49c4364bcee7 (diff)
xserver: fix up for stable build
reported by Arkadiusz Miskiewicz <arekm@maven.pl>
-rw-r--r--src/i810_driver.c5
-rw-r--r--src/i830_driver.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/src/i810_driver.c b/src/i810_driver.c
index f158f5db..6852be27 100644
--- a/src/i810_driver.c
+++ b/src/i810_driver.c
@@ -56,6 +56,11 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xf86.h"
#include "xf86_OSproc.h"
#include "xf86cmap.h"
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
+#include "xf86Resources.h"
+#include "xf86RAC.h"
+#endif
+
#include "compiler.h"
#include "mibstore.h"
#include "vgaHW.h"
diff --git a/src/i830_driver.c b/src/i830_driver.c
index f701231a..8c280448 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -53,6 +53,10 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xf86_OSproc.h"
#include "xf86Priv.h"
#include "xf86cmap.h"
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
+#include "xf86Resources.h"
+#include "xf86RAC.h"
+#endif
#include "compiler.h"
#include "mibstore.h"
#include "vgaHW.h"