From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3j3j-0008J2-F2 for qemu-devel@nongnu.org; Fri, 20 May 2016 07:57:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3j3g-0002uH-6s for qemu-devel@nongnu.org; Fri, 20 May 2016 07:57:39 -0400 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:34619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3j3f-0002ti-W9 for qemu-devel@nongnu.org; Fri, 20 May 2016 07:57:36 -0400 Received: by mail-wm0-x241.google.com with SMTP id n129so28607422wmn.1 for ; Fri, 20 May 2016 04:57:35 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 20 May 2016 13:57:31 +0200 Message-Id: <1463745452-25831-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] tci: do not include exec/exec-all.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org TCI does not need the runtime definition in exec-all.h. It only needs the host-side definitions in tcg/tcg.h. Now that cpu.h is not included everywhere, this caused a failure because exec-all.h does need cpu.h but does not include it itself. Fix by including the intended header. Signed-off-by: Paolo Bonzini --- disas/tci.c | 1 - tci.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/disas/tci.c b/disas/tci.c index 7233343..1cdf5ee 100644 --- a/disas/tci.c +++ b/disas/tci.c @@ -20,7 +20,6 @@ #include "qemu/osdep.h" #include "qemu-common.h" #include "disas/bfd.h" -#include "exec/exec-all.h" #include "tcg/tcg.h" /* Disassemble TCI bytecode. */ diff --git a/tci.c b/tci.c index 0fdc4e2..b488c0d 100644 --- a/tci.c +++ b/tci.c @@ -28,7 +28,7 @@ #endif #include "qemu-common.h" -#include "exec/exec-all.h" /* MAX_OPC_PARAM_IARGS */ +#include "tcg/tcg.h" /* MAX_OPC_PARAM_IARGS */ #include "exec/cpu_ldst.h" #include "tcg-op.h" -- 1.8.3.1