From 85b5ff3fdf3141ef01604bd7eb8e71e30d24717f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 28 Jul 2009 15:22:40 +1000 Subject: nv: change to using ABI version check --- src/riva_include.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/riva_include.h') 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 -- cgit v1.2.3