Skip to contentSkip to conversation

net/tap-win32: Fix compiler warning caused by missing include statement

PATCH Applied Stefan Weil 2 participants 2 messages Oct 17, 2012 – Oct 19, 2012 Networking

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/tap-win32: Fix compiler warning caused by missing include statement

The include file for net_init_tap was missing:

net/tap-win32.c:703:
warning: no previous prototype for ‘net_init_tap’

---
 net/tap-win32.c |    1 +
 1 file changed, 1 insertion(+)
net/tap-win32.c +1 -0
index f1801e2..22dad3f 100644
@@ -29,6 +29,7 @@
 #include "tap.h"
 
 #include "qemu-common.h"
+#include "clients.h"            /* net_init_tap */
 #include "net.h"
 #include "sysemu.h"
 #include "qemu-error.h"
Signature · 1 line
1.7.10.4