aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-08-19 16:20:20 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-08-19 16:29:53 +0100
commit20fbcfdd58ea47607a5755979d43f8c48ac93f08 (patch)
treeaf955de819c8c6d0bef34d62dcaa9156a4c8d660 /include/hw
parent49caffe0cc95a9d0dc344e3328be8197f3536cf8 (diff)
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/hw')
-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"