summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell2015-08-19 17:20:20 +0200
committerPeter Maydell2015-08-19 17:29:53 +0200
commit20fbcfdd58ea47607a5755979d43f8c48ac93f08 (patch)
treeaf955de819c8c6d0bef34d62dcaa9156a4c8d660 /include
parentqemu-common.h: Move muldiv64() to host-utils.h (diff)
downloadqemu-20fbcfdd58ea47607a5755979d43f8c48ac93f08.tar.gz
qemu-20fbcfdd58ea47607a5755979d43f8c48ac93f08.tar.xz
qemu-20fbcfdd58ea47607a5755979d43f8c48ac93f08.zip
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> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'include')
-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"