diff options
author | Bin Meng | 2021-02-28 06:02:18 +0100 |
---|---|---|
committer | Jason Wang | 2021-03-15 09:41:22 +0100 |
commit | 26d0586fc931dd541d5c040c5e3b2a7bb183f96c (patch) | |
tree | 5ba1eeb0c7a0d5fcc233b62ca34525859063cacc | |
parent | virtio-net: calculating proper msix vectors on init (diff) | |
download | qemu-26d0586fc931dd541d5c040c5e3b2a7bb183f96c.tar.gz qemu-26d0586fc931dd541d5c040c5e3b2a7bb183f96c.tar.xz qemu-26d0586fc931dd541d5c040c5e3b2a7bb183f96c.zip |
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>
-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" |