@samitouri / QOSamiQemu / commits / b96b4f6496

target/i386: 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/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é <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20260313062055.2188-10-philmd@linaro.org>

Philippe Mathieu-Daudé committed Mar 13, 2026 at 05:17 UTC b96b4f649687755f82a56ac131d274d952ed16fc
1 file changed +1
target/i386/cpu.h
+1
@@ -26,6 +26,7 @@
26 #include "exec/cpu-common.h"
27 #include "exec/cpu-defs.h"
28 #include "exec/cpu-interrupt.h"
29 +#include "exec/target_long.h"
30 #include "exec/memop.h"
31 #include "hw/i386/apic.h"
32 #include "hw/i386/topology.h"