diff mbox

[09/12] apic_internal.h: Include cpu.h directly

Message ID 1437583451-9677-10-git-send-email-peter.maydell@linaro.org
State Accepted
Commit 20fbcfdd58ea47607a5755979d43f8c48ac93f08
Headers show

Commit Message

Peter Maydell July 22, 2015, 4:44 p.m. UTC
apic_internal.h relies on cpu.h having been included (for the
X86CPU type); include it directly rather than relying on it
being pulled in via one of the other includes like timer.h.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 include/hw/i386/apic_internal.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/include/hw/i386/apic_internal.h b/include/hw/i386/apic_internal.h
index dc7a89d..26632ac 100644
--- a/include/hw/i386/apic_internal.h
+++ b/include/hw/i386/apic_internal.h
@@ -20,6 +20,7 @@ 
 #ifndef QEMU_APIC_INTERNAL_H
 #define QEMU_APIC_INTERNAL_H
 
+#include "cpu.h"
 #include "exec/memory.h"
 #include "hw/cpu/icc_bus.h"
 #include "qemu/timer.h"