Received: from eggs.gnu.org ([2001:4830:134:3::10]:42167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3j3r-0008L2-2B for qemu-devel@nongnu.org; Fri, 20 May 2016 07:57:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3j3g-0002ud-V0 for qemu-devel@nongnu.org; Fri, 20 May 2016 07:57:46 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:36003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3j3g-0002uM-P2 for qemu-devel@nongnu.org; Fri, 20 May 2016 07:57:36 -0400 Received: by mail-wm0-x242.google.com with SMTP id q62so421821wmg.3 for ; Fri, 20 May 2016 04:57:36 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 20 May 2016 13:57:32 +0200 Message-Id: <1463745452-25831-2-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] aspeed: include qemu/log.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org This is not visible with the default "log" trace backend. With other backends however trace.h does not include qemu/log.h, resulting in build failures. Signed-off-by: Paolo Bonzini --- hw/intc/aspeed_vic.c | 1 + hw/timer/aspeed_timer.c | 1 + 2 files changed, 2 insertions(+) diff --git a/hw/intc/aspeed_vic.c b/hw/intc/aspeed_vic.c index 19a0ff7..725d5b6 100644 --- a/hw/intc/aspeed_vic.c +++ b/hw/intc/aspeed_vic.c @@ -31,6 +31,7 @@ #include #include "hw/intc/aspeed_vic.h" #include "qemu/bitops.h" +#include "qemu/log.h" #include "trace.h" #define AVIC_NEW_BASE_OFFSET 0x80 diff --git a/hw/timer/aspeed_timer.c b/hw/timer/aspeed_timer.c index ebec359..4b94808 100644 --- a/hw/timer/aspeed_timer.c +++ b/hw/timer/aspeed_timer.c @@ -17,6 +17,7 @@ #include "qemu/bitops.h" #include "qemu/main-loop.h" #include "qemu/timer.h" +#include "qemu/log.h" #include "trace.h" #define TIMER_NR_REGS 4 -- 1.8.3.1