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é <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
---
target/sparc/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/sparc/cpu.h b/target/sparc/cpu.h
index 0139732e4cc..155aa8ec637 100644
--- a/target/sparc/cpu.h
+++ b/target/sparc/cpu.h
@@ -5,6 +5,7 @@
#include "cpu-qom.h"
#include "exec/cpu-defs.h"
#include "exec/cpu-interrupt.h"
+#include "exec/target_long.h"
#include "qemu/cpu-float.h"
#if !defined(TARGET_SPARC64)
--
2.53.0