aboutsummaryrefslogtreecommitdiff
path: root/bootdevice.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-12-04 11:10:27 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-05-19 16:42:27 +0200
commit3b3d264888a2dd63a417ea00f4e69fd59d4df8e8 (patch)
treea9c9088bb69f3b973e34c59e8ffcd7ad4980b317 /bootdevice.c
parent7d0c99a9d8e7e5a5e907d2e6f78b45f97ee06865 (diff)
explicitly include hw/qdev-core.h
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>
Diffstat (limited to 'bootdevice.c')
-rw-r--r--bootdevice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootdevice.c b/bootdevice.c
index 2e83ff05eb..bb9c08e535 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;