diff mbox series

disas: Fix build against Capstone v6 (again)

Message ID 20241022013047.830273-1-richard.henderson@linaro.org
State New
Headers show
Series disas: Fix build against Capstone v6 (again) | expand

Commit Message

Richard Henderson Oct. 22, 2024, 1:30 a.m. UTC
Like 9971cbac2f3, which set CAPSTONE_AARCH64_COMPAT_HEADER,
also set CAPSTONE_SYSTEMZ_COMPAT_HEADER.  Fixes the build
against capstone v6-alpha.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 include/disas/capstone.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/disas/capstone.h b/include/disas/capstone.h
index a11985151d..c43033f7f6 100644
--- a/include/disas/capstone.h
+++ b/include/disas/capstone.h
@@ -4,6 +4,7 @@ 
 #ifdef CONFIG_CAPSTONE
 
 #define CAPSTONE_AARCH64_COMPAT_HEADER
+#define CAPSTONE_SYSTEMZ_COMPAT_HEADER
 #include <capstone.h>
 
 #else