diff mbox

[29/50] explicitly include hw/qdev-core.h

Message ID 1463412982-6681-30-git-send-email-pbonzini@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Paolo Bonzini May 16, 2016, 3:36 p.m. UTC
exec/cpu-all.h includes qom/cpu.h, which includes hw/qdev-core.h.
Explicit inclusion will keep things working when cpu.h will not be
included indirectly almost everywhere (either directly or through
qemu-common.h).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 bootdevice.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/bootdevice.c b/bootdevice.c
index 2e83ff0..bb9c08e 100644
--- a/bootdevice.c
+++ b/bootdevice.c
@@ -28,6 +28,7 @@ 
 #include "qapi/visitor.h"
 #include "qemu/error-report.h"
 #include "hw/hw.h"
+#include "hw/qdev-core.h"
 
 typedef struct FWBootEntry FWBootEntry;