]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/mips: Include missing 'exec/target_long.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Mar 2026 04:17:30 +0000 (05:17 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 6 May 2026 10:36:56 +0000 (12:36 +0200)
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é <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20260313062055.2188-12-philmd@linaro.org>

target/mips/cpu.h

index ed662135cb073e618c29f0aa9de46e6879ebd6f7..3517d2d42cff8cec6a8056270d7d687999c2da16 100644 (file)
@@ -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