qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 09/12] apic_internal.h: Include cpu.h directly


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 09/12] apic_internal.h: Include cpu.h directly
Date: Wed, 22 Jul 2015 17:44:08 +0100

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 <address@hidden>
---
 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 dc7a89d..26632ac 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"
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]