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