diff --git a/target/m68k/m68k-semi.c b/target/m68k/m68k-semi.c index bdc798a28cb..d2a071ea677 100644 --- a/target/m68k/m68k-semi.c +++ b/target/m68k/m68k-semi.c @@ -22,7 +22,7 @@ */ #include "qemu/osdep.h" - +#include "exec/target_long.h" #include "cpu.h" #include "gdbstub/syscalls.h" #include "gdbstub/helpers.h"
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> --- target/m68k/m68k-semi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)