summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 15:22:41 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 15:22:41 +1000
commit690aaaedb3cf6e8241cad802651a640277094f22 (patch)
treeceed15d4ca727f2247e757db7425c39106ca4309
parent7149d16ed17c064cc91cb1473f10e8e80055347c (diff)
tdfx: change to using ABI version check
-rw-r--r--src/tdfx_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tdfx_driver.c b/src/tdfx_driver.c
index a3435f5..8935505 100644
--- a/src/tdfx_driver.c
+++ b/src/tdfx_driver.c
@@ -54,7 +54,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#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