From: Bin Meng Date: Sun, 28 Feb 2021 05:06:09 +0000 (+0800) Subject: hw/sd: sd: Fix build error when DEBUG_SD is on X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a78d9f27b73de3c42f376540bd1d1d0570eb1fa3;p=qemu.git hw/sd: sd: Fix build error when DEBUG_SD is on "qemu-common.h" should be included to provide the forward declaration of qemu_hexdump() when DEBUG_SD is on. Signed-off-by: Bin Meng Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210228050609.24779-1-bmeng.cn@gmail.com> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/hw/sd/sd.c b/hw/sd/sd.c index 8b397effbc..7b09ce9c2e 100644 --- a/hw/sd/sd.c +++ b/hw/sd/sd.c @@ -47,6 +47,7 @@ #include "qemu/timer.h" #include "qemu/log.h" #include "qemu/module.h" +#include "qemu-common.h" #include "sdmmc-internal.h" #include "trace.h"