diff mbox series

hw/core/accel-cpu: Add missing 'qom/object.h' include

Message ID 20220304142320.14281-1-philippe.mathieu.daude@gmail.com (mailing list archive)
State New, archived
Headers show
Series hw/core/accel-cpu: Add missing 'qom/object.h' include | expand

Commit Message

Philippe Mathieu-Daudé March 4, 2022, 2:23 p.m. UTC
From: Philippe Mathieu-Daudé <f4bug@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é <f4bug@amsat.org>
---
 include/hw/core/accel-cpu.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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.