From 445498d2cc977b8c4f22fca881c75637dc7b058a Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 28 Jul 2009 13:32:32 +1000 Subject: nv: update for resources/RAC API removal --- src/nv_include.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/nv_include.h') diff --git a/src/nv_include.h b/src/nv_include.h index b579b37..4442621 100644 --- a/src/nv_include.h +++ b/src/nv_include.h @@ -8,7 +8,11 @@ /* All drivers should typically include these */ #include "xf86.h" #include "xf86_OSproc.h" + +#ifndef XSERVER_LIBPCIACCESS #include "xf86Resources.h" +#include "xf86RAC.h" +#endif #include "compiler.h" /* Drivers for PCI hardware need this */ @@ -29,8 +33,6 @@ #include "vbe.h" -#include "xf86RAC.h" - #include "nv_const.h" #include "dixstruct.h" -- cgit v1.2.3