apic_internal.h: Include cpu.h directly
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 19 Aug 2015 15:20:20 +0000 (16:20 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 19 Aug 2015 15:29:53 +0000 (16:29 +0100)
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>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
include/hw/i386/apic_internal.h

index dc7a89d..26632ac 100644 (file)
@@ -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"