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>
Philippe Mathieu-Daudé committed
Mar 13, 2026 at 04:56 UTC
5643997439f6c0a49fab47b1de377e9be268b169
1 file changed
+7
-8
include/exec/helper-head.h.inc
+7
-8
@@ -46,14 +46,13 @@
46
#define dh_ctype(t) dh_ctype_##t
47
48
#ifdef COMPILING_PER_TARGET
49
-# ifdef TARGET_LONG_BITS
50
-# if TARGET_LONG_BITS == 32
51
-# define dh_alias_tl i32
52
-# define dh_typecode_tl dh_typecode_i32
53
-# else
54
-# define dh_alias_tl i64
55
-# define dh_typecode_tl dh_typecode_i64
56
-# endif
49
+# include "exec/target_long.h"
50
+# if TARGET_LONG_BITS == 32
51
+# define dh_alias_tl i32
52
+# define dh_typecode_tl dh_typecode_i32
53
+# else
54
+# define dh_alias_tl i64
55
+# define dh_typecode_tl dh_typecode_i64
56
# endif
57
# define dh_ctype_tl target_ulong
58
#endif /* COMPILING_PER_TARGET */