From 75182302d752ce9e4a2f8bc95adda59cd135fb03 Mon Sep 17 00:00:00 2001 From: John Helmert III Date: Sat, 18 Feb 2023 18:22:42 -0600 Subject: [PATCH] fix capstone include paths capstone include paths were adjusted in 2b8104bc5e763ed841d6dbffacbeaf02e86b8421, and this wasn't picked up in the "PPC uplifting" commit, leading to a build failure with system capstone. Also fix the path of the ppc.h include, which seems to mistakenly use capstone's ppc.h when building with bundled capstone. Fixes: b46e7bd4f2 ("PPC uplifting to RzIL (#2823)") Signed-off-by: John Helmert III --- librz/analysis/arch/ppc/ppc_il.h | 2 +- librz/analysis/arch/ppc/ppc_il_ops.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/librz/analysis/arch/ppc/ppc_il.h b/librz/analysis/arch/ppc/ppc_il.h index ee91eb050bf..7871414cefd 100644 --- a/librz/analysis/arch/ppc/ppc_il.h +++ b/librz/analysis/arch/ppc/ppc_il.h @@ -9,7 +9,7 @@ #include #include #include -#include +#include #define PPC_BYTE 8 #define PPC_HWORD 16 diff --git a/librz/analysis/arch/ppc/ppc_il_ops.c b/librz/analysis/arch/ppc/ppc_il_ops.c index f7a22610931..31a730c009e 100644 --- a/librz/analysis/arch/ppc/ppc_il_ops.c +++ b/librz/analysis/arch/ppc/ppc_il_ops.c @@ -1,13 +1,13 @@ // SPDX-FileCopyrightText: 2022 Rot127 // SPDX-License-Identifier: LGPL-3.0-only -#include "ppc.h" +#include "opcode/ppc.h" #include "ppc_il.h" #include "ppc_analysis.h" #include "rz_types_base.h" #include #include -#include +#include #include static RzILOpEffect *load_op(RZ_BORROW csh handle, RZ_BORROW cs_insn *insn, const cs_mode mode) {