Received: from eggs.gnu.org ([2001:4830:134:3::10]:50765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjqpM-0006L1-HS for qemu-devel@nongnu.org; Tue, 13 Sep 2016 12:44:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjqpI-0004XU-UQ for qemu-devel@nongnu.org; Tue, 13 Sep 2016 12:44:56 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjqpI-0004Wo-OM for qemu-devel@nongnu.org; Tue, 13 Sep 2016 12:44:52 -0400 Received: by mail-wm0-f67.google.com with SMTP id g141so8140047wmd.1 for ; Tue, 13 Sep 2016 09:44:52 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 13 Sep 2016 18:43:47 +0200 Message-Id: <1473785027-111043-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: David Gibson Just include the file that is supposed to bring it in. Cc: David Gibson Signed-off-by: Paolo Bonzini --- I'm including this in my pull request to fix a clang warning. 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 2c68d16..0cabb6a 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 { \ -- 1.8.3.1