mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
Win32: Get socklen_t from <ws2tcpip.h>.
This commit is contained in:
parent
5b08cc5a5b
commit
44fb868897
@ -14,7 +14,7 @@ AC_DEFUN([EL_CONFIG_OS_WIN32],
|
||||
EL_RESTORE_FLAGS
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADERS(windows.h)
|
||||
AC_CHECK_HEADERS(windows.h ws2tcpip.h)
|
||||
|
||||
# TODO: Check this?
|
||||
# TODO: Check -lws2_32 for IPv6 support
|
||||
|
@ -19,6 +19,9 @@
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_WS2TCPIP_H
|
||||
#include <ws2tcpip.h> /* socklen_t for MinGW */
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GETIFADDRS
|
||||
#ifdef HAVE_NETDB_H
|
||||
|
Loading…
Reference in New Issue
Block a user