aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-12-16 23:52:02 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-02-28 10:32:31 -1000
commit0c4d7ddbd38038aa2aff6a3a61996ef8d6b1f559 (patch)
treead53d4577ef4b9b41e10c72005b6541b56b96f16 /include
parent627634031092e1514f363fd8659a579398de0f0e (diff)
downloadqemu-0c4d7ddbd38038aa2aff6a3a61996ef8d6b1f559.zip
qemu-0c4d7ddbd38038aa2aff6a3a61996ef8d6b1f559.tar.gz
qemu-0c4d7ddbd38038aa2aff6a3a61996ef8d6b1f559.tar.bz2
exec/helper-head: Include missing "fpu/softfloat-types.h" header
'dh_ctype_f32' is defined as 'float32', itself declared in "fpu/softfloat-types.h". Include this header to avoid when refactoring other headers: In file included from include/exec/helper-proto.h:7, from include/tcg/tcg-op.h:29, from ../../tcg/tcg-op-vec.c:22: include/exec/helper-head.h:44:22: error: unknown type name ‘float32’; did you mean ‘_Float32’? 44 | #define dh_ctype_f32 float32 | ^~~~~~~ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20221216225202.25664-1-philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/exec/helper-head.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/exec/helper-head.h b/include/exec/helper-head.h
index b8d1140..f863a6e 100644
--- a/include/exec/helper-head.h
+++ b/include/exec/helper-head.h
@@ -18,6 +18,8 @@
#ifndef EXEC_HELPER_HEAD_H
#define EXEC_HELPER_HEAD_H
+#include "fpu/softfloat-types.h"
+
#define HELPER(name) glue(helper_, name)
/* Some types that make sense in C, but not for TCG. */