summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/aticonfig.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9744dbd..4a9a33f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
# Initialize Autoconf
AC_PREREQ([2.60])
AC_INIT([xf86-video-mach64],
- [6.9.6],
+ [6.9.7],
[https://gitlab.freedesktop.org/xorg/driver/xf86-video-mach64/issues],
[xf86-video-mach64])
AC_CONFIG_SRCDIR([Makefile.am])
diff --git a/src/aticonfig.c b/src/aticonfig.c
index 6995b9a..92ebecb 100644
--- a/src/aticonfig.c
+++ b/src/aticonfig.c
@@ -311,6 +311,10 @@ ATIProcessOptions
(void)memcpy(PublicOption, ATIPublicOptions, ATIPublicOptionSize);
+#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 25
+# define boolean bool
+#endif
+
# define ProbeSparse PublicOption[ATI_OPTION_PROBE_SPARSE].value.boolean
# define Accel PublicOption[ATI_OPTION_ACCEL].value.boolean
# define BIOSDisplay PrivateOption[ATI_OPTION_BIOS_DISPLAY].value.boolean