From: Paolo Bonzini Date: Fri, 20 May 2016 11:57:32 +0000 (+0200) Subject: aspeed: include qemu/log.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=22b31af26ff31ef97a9d482fb5e336d699ae33f3;p=qemu.git aspeed: include qemu/log.h 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 Message-id: 1463745452-25831-2-git-send-email-pbonzini@redhat.com Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/hw/intc/aspeed_vic.c b/hw/intc/aspeed_vic.c index 19a0ff7486..725d5b62c5 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 ebec35935d..4b94808821 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