index 7e74ebe59a5ea2e31a9100659805ada0f5d8e278..708a6c9bec5c04cd95861b77475e54445c0d24fc 100644 (file)
--- a/compat/win32/sys/poll.c
+++ b/compat/win32/sys/poll.c
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
# define WIN32_NATIVE
+# if defined (_MSC_VER)
+# define _WIN32_WINNT 0x0502
+# endif
# include <winsock2.h>
# include <windows.h>
# include <io.h>