From: Paolo Bonzini Date: Tue, 15 Mar 2016 13:32:19 +0000 (+0100) Subject: alpha: include cpu-qom.h in files that require AlphaCPU X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~6^2~13^2~6^2~263^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0774831d081d17dd63caee95d710f786fc652e67;p=sdk%2Femulator%2Fqemu.git alpha: include cpu-qom.h in files that require AlphaCPU This will keep things working when cpu.h will not be included indirectly almost everywhere (either directly or through qemu-common.h). Signed-off-by: Paolo Bonzini --- diff --git a/hw/alpha/alpha_sys.h b/hw/alpha/alpha_sys.h index e11025b4be..fcaeb2b7aa 100644 --- a/hw/alpha/alpha_sys.h +++ b/hw/alpha/alpha_sys.h @@ -3,6 +3,7 @@ #ifndef HW_ALPHA_H #define HW_ALPHA_H 1 +#include "target-alpha/cpu-qom.h" #include "hw/pci/pci.h" #include "hw/pci/pci_host.h" #include "hw/ide.h" diff --git a/hw/alpha/pci.c b/hw/alpha/pci.c index 5baa0eaf15..8dde637bfe 100644 --- a/hw/alpha/pci.c +++ b/hw/alpha/pci.c @@ -8,7 +8,6 @@ #include "qemu/osdep.h" #include "qemu-common.h" -#include "cpu.h" #include "alpha_sys.h" #include "qemu/log.h" #include "sysemu/sysemu.h"