xf86-video-nv: src/g80_driver.c src/nv_include.h src/riva_include.h
Dave Airlie
airlied at kemper.freedesktop.org
Mon Jul 27 22:25:20 PDT 2009
src/g80_driver.c | 2 +-
src/nv_include.h | 2 +-
src/riva_include.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 85b5ff3fdf3141ef01604bd7eb8e71e30d24717f
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Jul 28 15:22:40 2009 +1000
nv: change to using ABI version check
diff --git a/src/g80_driver.c b/src/g80_driver.c
index 17c85f0..9cc2bf2 100644
--- a/src/g80_driver.c
+++ b/src/g80_driver.c
@@ -29,7 +29,7 @@
#include <string.h>
#include <xf86_OSproc.h>
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include <xf86Resources.h>
#endif
#include <mipointer.h>
diff --git a/src/nv_include.h b/src/nv_include.h
index 4442621..a0d5ad1 100644
--- a/src/nv_include.h
+++ b/src/nv_include.h
@@ -9,7 +9,7 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#include "xf86RAC.h"
#endif
diff --git a/src/riva_include.h b/src/riva_include.h
index a2064e1..04c35a6 100644
--- a/src/riva_include.h
+++ b/src/riva_include.h
@@ -7,7 +7,7 @@
#include "xf86.h"
#include "xf86_OSproc.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#include "xf86RAC.h"
#endif
More information about the xorg-commit
mailing list