fix capstone include paths

capstone include paths were adjusted in
2b8104bc5e, 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 <ajak@gentoo.org>
This commit is contained in:
John Helmert III 2023-02-18 18:22:42 -06:00 committed by Anton Kochkov
parent cebd2f3200
commit c4b663be36
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@
#include <rz_analysis.h>
#include <rz_il.h>
#include <rz_types.h>
#include <capstone.h>
#include <capstone/capstone.h>
#define PPC_BYTE 8
#define PPC_HWORD 16

View file

@ -1,13 +1,13 @@
// SPDX-FileCopyrightText: 2022 Rot127 <unisono@quyllur.org>
// 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 <rz_il/rz_il_opcodes.h>
#include <rz_util/rz_assert.h>
#include <capstone.h>
#include <capstone/capstone.h>
#include <rz_il/rz_il_opbuilder_begin.h>
static RzILOpEffect *load_op(RZ_BORROW csh handle, RZ_BORROW cs_insn *insn, const cs_mode mode) {