@samitouri / QOSamiQemu / commits / 15d7d3b7f9

target/m68k: 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/m68k/m68k-semi.c:53:5: error: use of undeclared identifier 'target_ulong' 53 | target_ulong args = env->dregs[1]; | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20260313062055.2188-11-philmd@linaro.org>

Philippe Mathieu-Daudé committed Mar 13, 2026 at 05:17 UTC 15d7d3b7f929e63b113a39fb07ed40a714a1b1fd
1 file changed +1 -1
target/m68k/m68k-semi.c
+1 -1
@@ -22,7 +22,7 @@
22 */
23
24 #include "qemu/osdep.h"
25 -
25 +#include "exec/target_long.h"
26 #include "cpu.h"
27 #include "gdbstub/syscalls.h"
28 #include "gdbstub/helpers.h"