semihosting/syscalls: Include missing 'exec/cpu-defs.h' header
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Jan 2025 16:02:32 +0000 (16:02 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 17 Jan 2025 10:43:51 +0000 (10:43 +0000)
commit056c4059e8a64d006dc274ab8279e06e47e2920d
tree1eb15927d743f04b2fa7461b983135d1d34c27a8
parent23482ccd6bff4398643a90ca1c890f91f003e2c1
semihosting/syscalls: Include missing 'exec/cpu-defs.h' header

target_ulong is defined in each target "cpu-param.h",
itself included by "exec/cpu-defs.h".
Include the latter in order to avoid when refactoring:

  include/semihosting/syscalls.h:26:24: error: unknown type name 'target_ulong'
     26 |                        target_ulong fname, target_ulong fname_len,
        |                        ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250103171037.11265-2-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250116160306.1709518-4-alex.bennee@linaro.org>
include/semihosting/syscalls.h