diff options
author | Bin Meng <bin.meng@windriver.com> | 2021-02-28 13:02:18 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2021-03-15 16:41:22 +0800 |
commit | 26d0586fc931dd541d5c040c5e3b2a7bb183f96c (patch) | |
tree | 5ba1eeb0c7a0d5fcc233b62ca34525859063cacc /net/net.c | |
parent | 51a81a2118df0c70988f00d61647da9e298483a4 (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/net.c')
-rw-r--r-- | net/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ */ #include "qemu/osdep.h" +#include "qemu-common.h" #include "net/net.h" #include "clients.h" |