diff --git a/src/listen.c b/src/listen.c index 240a42b0e..9fb60edcb 100644 --- a/src/listen.c +++ b/src/listen.c @@ -35,6 +35,7 @@ #include #ifdef WIN32 +#define WINVER 0x0501 #include #include #else 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 #include #else /* G_OS_WIN32 */ +#define WINVER 0x0501 #include #include #endif /* G_OS_WIN32 */