exec/helper-head: Include missing 'exec/target_long.h' header

TARGET_LONG_BITS is defined in "exec/target_long.h" (which
is currently included implicitly by various headers).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20260313062055.2188-19-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé
2026-03-13 04:56:48 +01:00
parent bc941faf60
commit 5643997439

View File

@@ -46,14 +46,13 @@
#define dh_ctype(t) dh_ctype_##t
#ifdef COMPILING_PER_TARGET
# ifdef TARGET_LONG_BITS
# if TARGET_LONG_BITS == 32
# define dh_alias_tl i32
# define dh_typecode_tl dh_typecode_i32
# else
# define dh_alias_tl i64
# define dh_typecode_tl dh_typecode_i64
# endif
# include "exec/target_long.h"
# if TARGET_LONG_BITS == 32
# define dh_alias_tl i32
# define dh_typecode_tl dh_typecode_i32
# else
# define dh_alias_tl i64
# define dh_typecode_tl dh_typecode_i64
# endif
# define dh_ctype_tl target_ulong
#endif /* COMPILING_PER_TARGET */