[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL V2 02/20] net: Fix build error when DEBUG_NET is on
From: |
Jason Wang |
Subject: |
[PULL V2 02/20] net: Fix build error when DEBUG_NET is on |
Date: |
Mon, 15 Mar 2021 17:14:15 +0800 |
From: Bin Meng <bin.meng@windriver.com>
"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>
---
net/net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/net.c b/net/net.c
index 9a2a4c9..16a87cc 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"
--
2.7.4
- [PULL V2 00/20] Net patches, Jason Wang, 2021/03/15
- [PULL V2 01/20] virtio-net: calculating proper msix vectors on init, Jason Wang, 2021/03/15
- [PULL V2 02/20] net: Fix build error when DEBUG_NET is on,
Jason Wang <=
- [PULL V2 03/20] net: validate that ids are well formed, Jason Wang, 2021/03/15
- [PULL V2 04/20] e1000: fail early for evil descriptor, Jason Wang, 2021/03/15
- [PULL V2 05/20] net: introduce qemu_receive_packet(), Jason Wang, 2021/03/15
- [PULL V2 06/20] e1000: switch to use qemu_receive_packet() for loopback, Jason Wang, 2021/03/15
- [PULL V2 07/20] dp8393x: switch to use qemu_receive_packet() for loopback packet, Jason Wang, 2021/03/15
- [PULL V2 08/20] msf2-mac: switch to use qemu_receive_packet() for loopback, Jason Wang, 2021/03/15
- [PULL V2 09/20] sungem: switch to use qemu_receive_packet() for loopback, Jason Wang, 2021/03/15
- [PULL V2 10/20] tx_pkt: switch to use qemu_receive_packet_iov() for loopback, Jason Wang, 2021/03/15
- [PULL V2 11/20] rtl8139: switch to use qemu_receive_packet() for loopback, Jason Wang, 2021/03/15
- [PULL V2 13/20] cadence_gem: switch to use qemu_receive_packet() for loopback, Jason Wang, 2021/03/15