diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h index 7d47afe8efa..6ea4c9b6826 100644 --- a/target/hppa/cpu.h +++ b/target/hppa/cpu.h @@ -24,6 +24,7 @@ #include "exec/cpu-common.h" #include "exec/cpu-defs.h" #include "exec/cpu-interrupt.h" +#include "exec/target_long.h" #include "system/memory.h" #include "qemu/cpu-float.h" #include "qemu/interval-tree.h"
The "exec/target_long.h" header is indirectly included, pulled via "exec/cpu-defs.h". Include it explicitly otherwise we'd get when removing the latter: target/hppa/cpu.h:375:1: error: unknown type name 'target_ulong' 375 | target_ulong cpu_hppa_get_psw(CPUHPPAState *env); | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20260313062055.2188-9-philmd@linaro.org> --- target/hppa/cpu.h | 1 + 1 file changed, 1 insertion(+)