ppc: do not redefine CPUPPCState
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Sep 2016 16:42:38 +0000 (18:42 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Sep 2016 17:09:44 +0000 (19:09 +0200)
Just include the file that is supposed to bring it in.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/hw/ppc/fdt.h

index 2c68d1616f5c7b7c97d13fcef0a59efdd7b2814c..0cabb6af04c762d7add5faecb69dffeb85a2a3b8 100644 (file)
@@ -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 {                                                           \