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/i386/cpu.h:2777:43: error: unknown type name 'target_ulong'
2777 | void cpu_x86_update_cr3(CPUX86State *env, target_ulong new_cr3);
| ^
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
---
target/i386/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index 16de67e5464..fd8d98a4bdd 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -26,6 +26,7 @@
#include "exec/cpu-common.h"
#include "exec/cpu-defs.h"
#include "exec/cpu-interrupt.h"
+#include "exec/target_long.h"
#include "exec/memop.h"
#include "hw/i386/apic.h"
#include "hw/i386/topology.h"
--
2.53.0