net: Fix build error when DEBUG_NET is on
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.
Signed-off-by Bin Meng <[email protected]>
---
net/net.c | 1 + 1 file changed, 1 insertion(+)
net/net.c +1 -0
@@ -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
Quoted 10 lines · Bin Meng
From: Bin Meng <[email protected]>
"
qemu-common.h" should be included to provide the forward declaration ofqemu_hexdump()whenDEBUG_NETis on.Signed-off-by Bin Meng <[email protected]>---
net/net.c | 1 + 1 file changed, 1 insertion(+)
Similarly:
- hw/net/fsl_etsec/etsec.c
- hw/net/fsl_etsec/rings.c
Reviewed-by Philippe Mathieu-Daudé <[email protected]>