diff options
Diffstat (limited to 'src/socket_util.c')
-rw-r--r-- | src/socket_util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/socket_util.c b/src/socket_util.c index 31b656326..0fea281f0 100644 --- a/src/socket_util.c +++ b/src/socket_util.c @@ -19,8 +19,12 @@ #include "socket_util.h" #include "config.h" +#ifndef G_OS_WIN32 #include <sys/socket.h> #include <netdb.h> +#else /* G_OS_WIN32 */ +#include <ws2tcpip.h> +#endif /* G_OS_WIN32 */ #ifdef HAVE_IPV6 #include <string.h> |