qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/core/accel-cpu: Add missing 'qom/object.h' include
@ 2022-03-04 14:23 Philippe Mathieu-Daudé
  0 siblings, 0 replies; only message in thread
From: Philippe Mathieu-Daudé @ 2022-03-04 14:23 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Thomas Huth, Richard Henderson,
	Philippe Mathieu-Daudé

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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-04 14:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-04 14:23 [PATCH] hw/core/accel-cpu: Add missing 'qom/object.h' include Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).