From f9b9d0ba0fa5ebba7d209a4525ac4ea0146117a4 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Sat, 24 Feb 2018 02:00:43 -0500 Subject: [PATCH] hw: explicitly include qemu/log.h Move the inclusion out of hw/hw.h, most files do not need it. Backports commit 03dd024ff57733a55cd2e455f361d053c81b1b29 from qemu --- qemu/include/hw/hw.h | 1 - qemu/vl.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/include/hw/hw.h b/qemu/include/hw/hw.h index e2e7f11b..51d4d629 100644 --- a/qemu/include/hw/hw.h +++ b/qemu/include/hw/hw.h @@ -9,7 +9,6 @@ #include "qemu-common.h" #include "exec/cpu-common.h" #include "exec/ioport.h" -#include "qemu/log.h" #ifdef NEED_CPU_H #if TARGET_LONG_BITS == 64 diff --git a/qemu/vl.c b/qemu/vl.c index 99ae912a..d1187d40 100644 --- a/qemu/vl.c +++ b/qemu/vl.c @@ -30,6 +30,7 @@ #include "hw/boards.h" // MachineClass #include "sysemu/sysemu.h" #include "sysemu/cpus.h" +#include "qemu/log.h" #include "vl.h" #include "uc_priv.h" #include "exec/semihost.h"