Skip to contentSkip to conversation

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

PATCH New Philippe Mathieu-Daudé 1 participant 1 message Mar 4, 2022

lore
Share & tools
lore
#0 lore raw

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

From: Philippe Mathieu-Daudé <[email protected]>

hw/core/accel-cpu.h requires "qom/object.h" for the ObjectClass structure and the DECLARE_CLASS_CHECKERS() macro definitions.

---
 include/hw/core/accel-cpu.h | 2 ++
 1 file changed, 2 insertions(+)
include/hw/core/accel-cpu.h +2 -0
index 5dbfd79955..ab176b4e90 100644
@@ -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.
Signature · 1 line
2.34.1