From: Philippe Mathieu-Daudé <f4...@amsat.org> hw/core/accel-cpu.h requires "qom/object.h" for the ObjectClass structure and the DECLARE_CLASS_CHECKERS() macro definitions.
Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> --- include/hw/core/accel-cpu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/hw/core/accel-cpu.h b/include/hw/core/accel-cpu.h index 5dbfd79955..ab176b4e90 100644 --- a/include/hw/core/accel-cpu.h +++ b/include/hw/core/accel-cpu.h @@ -11,6 +11,8 @@ #ifndef ACCEL_CPU_H #define ACCEL_CPU_H +#include "qom/object.h" + /* * This header is used to define new accelerator-specific target-specific * accelerator cpu subclasses. -- 2.34.1