From afaf2a99d34809effb1fd9c8c34caaaa0776fe1a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 15 Feb 2018 08:45:36 -0500 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. Backports commit 20fbcfdd58ea47607a5755979d43f8c48ac93f08 from qemu --- qemu/include/hw/i386/apic_internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/include/hw/i386/apic_internal.h b/qemu/include/hw/i386/apic_internal.h index b833d147..99c313ea 100644 --- a/qemu/include/hw/i386/apic_internal.h +++ b/qemu/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"