aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket_util.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/socket_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket_util.c b/src/socket_util.c
index 01733eb03..7895d3367 100644
--- a/src/socket_util.c
+++ b/src/socket_util.c
@@ -28,6 +28,7 @@
#include <sys/socket.h>
#include <netdb.h>
#else /* G_OS_WIN32 */
+#define WINVER 0x0501
#include <ws2tcpip.h>
#include <winsock.h>
#endif /* G_OS_WIN32 */