summaryrefslogtreecommitdiff
path: root/src/nv_include.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-28 15:22:40 +1000
committerDave Airlie <airlied@redhat.com>2009-07-28 15:22:40 +1000
commit85b5ff3fdf3141ef01604bd7eb8e71e30d24717f (patch)
tree24a43ca94b274a53c4581c2a3e59c723765c3cbe /src/nv_include.h
parent445498d2cc977b8c4f22fca881c75637dc7b058a (diff)
nv: change to using ABI version check
Diffstat (limited to 'src/nv_include.h')
-rw-r--r--src/nv_include.h2
1 files changed, 1 insertions, 1 deletions
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