On 4/3/25 16:49, Philippe Mathieu-Daudé wrote:
In file included from ../../accel/accel-target.c:29:
../../accel/accel-internal.h:13:32: error: unknown type name 'AccelClass'
13 | void accel_init_ops_interfaces(AccelClass *ac);
| ^
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
accel/accel-internal.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/accel/accel-internal.h b/accel/accel-internal.h
index 03426aa21ee..d3a4422cbf7 100644
--- a/accel/accel-internal.h
+++ b/accel/accel-internal.h
@@ -10,6 +10,8 @@
#ifndef ACCEL_INTERNAL_H
#define ACCEL_INTERNAL_H
+#include "qemu/accel.h"
+
void accel_init_ops_interfaces(AccelClass *ac);
#endif /* ACCEL_SYSTEM_H */
Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>