Code

net/async_connect: add missing include for socklen_t
authorMax Kellermann <max.kellermann@gmail.com>
Sat, 25 Mar 2017 20:34:03 +0000 (21:34 +0100)
committerMax Kellermann <max.kellermann@gmail.com>
Sat, 25 Mar 2017 20:34:08 +0000 (21:34 +0100)
src/net/async_connect.c

index c375ea38e237a9d3376219b6067de436b324f494..350702c885139558bb3698319b7cdccde539434e 100644 (file)
 
 #include <glib.h>
 
+#ifdef WIN32
+#include <ws2tcpip.h>
+#endif
+
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>