aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBin Meng <bin.meng@windriver.com>2021-02-28 13:02:18 +0800
committerJason Wang <jasowang@redhat.com>2021-03-15 16:41:22 +0800
commit26d0586fc931dd541d5c040c5e3b2a7bb183f96c (patch)
tree5ba1eeb0c7a0d5fcc233b62ca34525859063cacc /net
parent51a81a2118df0c70988f00d61647da9e298483a4 (diff)
net: Fix build error when DEBUG_NET is on
"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>
Diffstat (limited to 'net')
-rw-r--r--net/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/net.c b/net/net.c
index 9a2a4c99a5..16a87cc1b5 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"