aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-07-22 12:29:20 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-07-22 12:29:32 +0100
commit1f4e1fac3fa03e4c01715d360bf833e2ac3c707f (patch)
tree34e87f8732799cb1e0e1353238af47f967132c99
parentac0de42e561f4ecb446d5e99f070d99d757eb7b4 (diff)
downloadqemu-arm-1f4e1fac3fa03e4c01715d360bf833e2ac3c707f.tar.gz
apic_internal.h: Include cpu.h directly
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>
-rw-r--r--include/hw/i386/apic_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/i386/apic_internal.h b/include/hw/i386/apic_internal.h
index dc7a89d988..26632acf37 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"