diff mbox series

[PULL,V2,02/20] net: Fix build error when DEBUG_NET is on

Message ID 1615799673-31549-3-git-send-email-jasowang@redhat.com
State New
Headers show
Series [PULL,V2,01/20] virtio-net: calculating proper msix vectors on init | expand

Commit Message

Jason Wang March 15, 2021, 9:14 a.m. UTC
From: Bin Meng <bin.meng@windriver.com>

"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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/net/net.c b/net/net.c
index 9a2a4c9..16a87cc 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"