[PATCH v6 41/50] target/arm/tcg/vec_internal: use forward declaration for CPUARMState

Pierrick Bouvier posted 50 patches 7 months, 2 weeks ago
There is a newer version of this series
[PATCH v6 41/50] target/arm/tcg/vec_internal: use forward declaration for CPUARMState
Posted by Pierrick Bouvier 7 months, 2 weeks ago
Needed so this header can be included without requiring cpu.h.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
 target/arm/tcg/vec_internal.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/arm/tcg/vec_internal.h b/target/arm/tcg/vec_internal.h
index 6b93b5aeb94..c02f9c37f83 100644
--- a/target/arm/tcg/vec_internal.h
+++ b/target/arm/tcg/vec_internal.h
@@ -22,6 +22,8 @@
 
 #include "fpu/softfloat.h"
 
+typedef struct CPUArchState CPUARMState;
+
 /*
  * Note that vector data is stored in host-endian 64-bit chunks,
  * so addressing units smaller than that needs a host-endian fixup.
-- 
2.47.2