Message ID | 1614326161-65017-1-git-send-email-bmeng.cn@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | net: Fix build error when DEBUG_NET is on | expand |
On 2/26/21 8:56 AM, Bin Meng wrote: > 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> > --- > > net/net.c | 1 + > 1 file changed, 1 insertion(+) Similarly: - hw/net/fsl_etsec/etsec.c - hw/net/fsl_etsec/rings.c Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
diff --git a/net/net.c b/net/net.c index fb7b7dc..32d71c1 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"