Skip to contentSkip to conversation

net: Fix build error when DEBUG_NET is on

PATCH In review Bin Meng 2 participants 2 messages Feb 26, 2021 Networking

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 net: Fix build error when DEBUG_NET is on

From: Bin Meng <[email protected]>

"qemu-common.h" should be included to provide the forward declaration of qemu_hexdump() when DEBUG_NET is on.

---

 net/net.c | 1 +
 1 file changed, 1 insertion(+)
net/net.c +1 -0
index fb7b7dc..32d71c1 100644
@@ -23,6 +23,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 
 #include "net/net.h"
 #include "clients.h"
Signature · 1 line
2.7.4