qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Philippe Mathieu-Daudé
Subject: [PATCH] hw/core/accel-cpu: Add missing 'qom/object.h' include
Date: Fri, 4 Mar 2022 15:23:20 +0100

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 --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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]