net: Add missing include statement (fix compiler warnings for MinGW)
PATCH 1/1 net: Add missing include statement (fix compiler warnings for MinGW)
These and some more compiler warnings were caused by a recent commit:
net/tap-win32.c:724: warning: no previous prototype for ‘tap_has_ufo’ net/tap-win32.c:729: warning: no previous prototype for ‘tap_has_vnet_hdr’
...
Signed-off-by Stefan Weil <[email protected]>
--- net/tap-win32.c | 1 + 1 file changed, 1 insertion(+)
net/tap-win32.c +1 -0
@@ -31,6 +31,7 @@#include "qemu-common.h" #include "clients.h" /* net_init_tap */ #include "net/net.h" +#include "net/tap.h" /* tap_has_ufo, ... */ #include "sysemu/sysemu.h" #include "qemu/error-report.h" #include <stdio.h>
Signature · 1 line
1.7.10.4
Blue Swirl
AppliedThanks, applied.
Quoted 27 lines · Stefan Weil
These and some more compiler warnings were caused by a recent commit:
net/tap-win32.c:724: warning: no previous prototype for ‘tap_has_ufo’net/tap-win32.c:729: warning: no previous prototype for ‘tap_has_vnet_hdr’
...Signed-off-by Stefan Weil <[email protected]>--- net/tap-win32.c | 1 + 1 file changed, 1 insertion(+)net/tap-win32.c +1
-1@@ -31,6 +31,7 @@#include "qemu-common.h" #include "clients.h" /* net_init_tap */ #include "net/net.h" +#include "net/tap.h" /* tap_has_ufo, ... */ #include "sysemu/sysemu.h" #include "qemu/error-report.h" #include <stdio.h> --1.7.10.4