From 2be8e7b542d57c4bd2980d5f7774045fea4cc020 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Sat, 28 Nov 2020 02:22:37 +0100 Subject: [PATCH] Set minimum Capstone version to 4.0.2 This version has fixed a bug with Capstone's main header. --- CMakeLists.txt | 2 +- debugger/debugger.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db9ec8d..84e8ded 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ endif() endif() find_package(PkgConfig REQUIRED) -pkg_check_modules(CAPSTONE REQUIRED capstone>=4.0.1) +pkg_check_modules(CAPSTONE REQUIRED capstone>=4.0.2) include_directories(${CAPSTONE_INCLUDE_DIRS}) link_directories(${CAPSTONE_LIBRARY_DIRS}) diff --git a/debugger/debugger.cpp b/debugger/debugger.cpp index bf1b4c9..b646fba 100644 --- a/debugger/debugger.cpp +++ b/debugger/debugger.cpp @@ -27,7 +27,7 @@ along with this program. If not, see . #include #include #include -#include +#include #include "../cpu/ppc/ppcdisasm.h" #include "../cpu/ppc/ppcemu.h" #include "../cpu/ppc/ppcmmu.h"