From 20fbcfdd58ea47607a5755979d43f8c48ac93f08 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Wed, 19 Aug 2015 16:20:20 +0100 Subject: [PATCH] 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 Reviewed-by: Daniel P. Berrange --- include/hw/i386/apic_internal.h | 1 + 1 file changed, 1 insertion(+) 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"