From 2286459d3ac19eb0697503282ce7830907d055ea Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 13 Sep 2016 18:42:38 +0200 Subject: [PATCH] ppc: do not redefine CPUPPCState Just include the file that is supposed to bring it in. Signed-off-by: Paolo Bonzini --- include/hw/ppc/fdt.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 { \ -- 2.11.4.GIT