summaryrefslogtreecommitdiff
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
commitfc6ef5cfb34e26b2f391d1868501bebbaaef786c (patch)
tree1047f025a77f2526d18f87c5b1161396d50519ee
parentd0bc81e8d7af7df512e5556a2d1da0c2053c75cd (diff)
newport: change to using ABI version check
-rw-r--r--src/newport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newport.h b/src/newport.h
index d4435b7..70b9665 100644
--- a/src/newport.h
+++ b/src/newport.h
@@ -24,7 +24,7 @@
#include "xf86_OSproc.h"
#include "compiler.h"
-#ifndef XSERVER_LIBPCIACCESS
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#endif