Skip to contentSkip to conversation

net: Add missing include statement (fix compiler warnings for MinGW)

PATCH Applied Stefan Weil 2 participants 2 messages Dec 20, 2012 – Dec 22, 2012 Networking

lore
Share & tools
lore
#0 lore raw

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’
...

---
 net/tap-win32.c |    1 +
 1 file changed, 1 insertion(+)
net/tap-win32.c +1 -0
index 0c63cbd..265369c 100644
@@ -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
Applied
#1 lore raw

Thanks, 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’
...

---
 net/tap-win32.c |    1 +
 1 file changed, 1 insertion(+)
net/tap-win32.c +1 -1
index 0c63cbd..265369c 100644
@@ -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