]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
net: Fix build error when DEBUG_NET is on
authorBin Meng <bin.meng@windriver.com>
Sun, 28 Feb 2021 05:02:18 +0000 (13:02 +0800)
committerJason Wang <jasowang@redhat.com>
Mon, 15 Mar 2021 08:41:22 +0000 (16:41 +0800)
"qemu-common.h" should be included to provide the forward declaration
of qemu_hexdump() when DEBUG_NET is on.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/net.c

index 9a2a4c99a5fa52b019915f6f5cd7bdebbb9f5342..16a87cc1b58739273939d24b39313d718fe78a2e 100644 (file)
--- 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"