summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Adkins <jesserayadkins@gmail.com>2010-10-28 07:32:19 -0400
committerAdam Jackson <ajax@redhat.com>2010-10-28 07:32:19 -0400
commit3ea59deae7e662d64b331844bcd4738e9bb15f77 (patch)
treee8fb8096dee8596e4278c1802fa518de4b8d33a3
parent95b86ad7baefbd07a087d1ff43389be52bdd75d9 (diff)
Check video ABI before including xf86Resources.h (#26342)
Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
-rw-r--r--src/impact.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/impact.h b/src/impact.h
index 9655fde..31f69c6 100644
--- a/src/impact.h
+++ b/src/impact.h
@@ -16,7 +16,9 @@
#include "xf86.h"
#include "xf86_OSproc.h"
#include "compiler.h"
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
+#endif
#include "xf86cmap.h"