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]>
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
---
Changes in v2:
- add "Reviewed-By" tag
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.25.1
Jason Wang
AppliedQuoted 7 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]>Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Applied.
Thanks
Quoted 21 lines
---
Changes in v2:
- add "Reviewed-By" tagnet/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"