@samitouri / QOSamiQemu / commits / 4a6f856190

target/sparc: Include missing 'exec/target_long.h' header

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/sparc/cpu.h:615:1: error: unknown type name 'target_ulong' 615 | target_ulong cpu_get_fsr(CPUSPARCState *); | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20260313062055.2188-15-philmd@linaro.org>

Philippe Mathieu-Daudé committed Mar 13, 2026 at 05:13 UTC 4a6f85619050b91bf86c5f5b8d1eccf732852740
1 file changed +1
target/sparc/cpu.h
+1
@@ -5,6 +5,7 @@
5 #include "cpu-qom.h"
6 #include "exec/cpu-defs.h"
7 #include "exec/cpu-interrupt.h"
8 +#include "exec/target_long.h"
9 #include "qemu/cpu-float.h"
10
11 #if !defined(TARGET_SPARC64)