From 2008eacc0f1348c89da08532889439e92cc6a95c Mon Sep 17 00:00:00 2001 From: Rot127 Date: Fri, 21 Jul 2023 04:04:08 -0500 Subject: [PATCH] fix #2101 --- CMakeLists.txt | 1 + include/capstone/arm.h | 2 +- include/capstone/capstone.h | 2 +- cs_operand.h => include/capstone/cs_operand.h | 0 include/capstone/tricore.h | 2 +- 5 files changed, 4 insertions(+), 3 deletions(-) rename cs_operand.h => include/capstone/cs_operand.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index be87e6b880..4abd61fd33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -126,6 +126,7 @@ set(HEADERS_COMMON include/capstone/arm64.h include/capstone/arm.h include/capstone/capstone.h + include/capstone/cs_operand.h include/capstone/evm.h include/capstone/wasm.h include/capstone/mips.h diff --git a/include/capstone/arm.h b/include/capstone/arm.h index bb63400a96..7cb61ee4f4 100644 --- a/include/capstone/arm.h +++ b/include/capstone/arm.h @@ -12,7 +12,7 @@ extern "C" { #include #include -#include "../../cs_operand.h" +#include "cs_operand.h" #include "platform.h" #ifdef _MSC_VER diff --git a/include/capstone/capstone.h b/include/capstone/capstone.h index 40e40783a3..527512b73e 100644 --- a/include/capstone/capstone.h +++ b/include/capstone/capstone.h @@ -17,7 +17,7 @@ extern "C" { #include #endif -#include "../../cs_operand.h" +#include "cs_operand.h" #include "platform.h" #ifdef _MSC_VER diff --git a/cs_operand.h b/include/capstone/cs_operand.h similarity index 100% rename from cs_operand.h rename to include/capstone/cs_operand.h diff --git a/include/capstone/tricore.h b/include/capstone/tricore.h index e9f2426b1d..aec5da0251 100644 --- a/include/capstone/tricore.h +++ b/include/capstone/tricore.h @@ -12,7 +12,7 @@ extern "C" { #include #endif -#include "../../cs_operand.h" +#include "cs_operand.h" #include "platform.h" #ifdef _MSC_VER