[PATCH xf86-video-impact] Check video ABI before including xf86Resources.h (bug 26342)
Jesse Adkins
jesserayadkins at gmail.com
Fri Oct 15 15:00:30 PDT 2010
Because this file apparently went away after ABI >= 6. Also, it's what the
other drivers do.
Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>
---
src/impact.h | 2 ++
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"
--
1.7.0.4
More information about the xorg-devel
mailing list