From: Paolo Bonzini Date: Tue, 13 Sep 2016 16:42:38 +0000 (+0200) Subject: ppc: do not redefine CPUPPCState X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2286459d3ac19eb0697503282ce7830907d055ea;p=qemu.git ppc: do not redefine CPUPPCState Just include the file that is supposed to bring it in. Signed-off-by: Paolo Bonzini --- diff --git a/include/hw/ppc/fdt.h b/include/hw/ppc/fdt.h index 2c68d1616f..0cabb6af04 100644 --- a/include/hw/ppc/fdt.h +++ b/include/hw/ppc/fdt.h @@ -11,8 +11,7 @@ #define PPC_FDT_H #include "qemu/error-report.h" - -typedef struct CPUPPCState CPUPPCState; +#include "target-ppc/cpu-qom.h" #define _FDT(exp) \ do { \