1
0
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:
Kalle Olavi Niemitalo 2007-07-18 00:41:08 +03:00 committed by Witold Filipczyk
parent 5b08cc5a5b
commit 44fb868897
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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