From: Bin Meng Date: Sun, 28 Feb 2021 05:02:18 +0000 (+0800) Subject: net: Fix build error when DEBUG_NET is on X-Git-Tag: qemu-xen-4.16.0-rc4~286^2~18 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=26d0586fc931dd541d5c040c5e3b2a7bb183f96c;p=qemu-xen.git net: Fix build error when DEBUG_NET is on "qemu-common.h" should be included to provide the forward declaration of qemu_hexdump() when DEBUG_NET is on. Signed-off-by: Bin Meng Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Jason Wang --- diff --git a/net/net.c b/net/net.c index 9a2a4c99a5..16a87cc1b5 100644 --- a/net/net.c +++ b/net/net.c @@ -23,6 +23,7 @@ */ #include "qemu/osdep.h" +#include "qemu-common.h" #include "net/net.h" #include "clients.h"