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/mips/cpu.h:462:5: error: unknown type name 'target_ulong'
462 | target_ulong gpr[32];
| ^
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
---
target/mips/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/mips/cpu.h b/target/mips/cpu.h
index ed662135cb0..3517d2d42cf 100644
--- a/target/mips/cpu.h
+++ b/target/mips/cpu.h
@@ -5,6 +5,7 @@
#include "exec/cpu-common.h"
#include "exec/cpu-defs.h"
#include "exec/cpu-interrupt.h"
+#include "exec/target_long.h"
#ifndef CONFIG_USER_ONLY
#include "system/memory.h"
#endif
--
2.53.0