Index: configure =================================================================== --- configure (revision 27376) +++ configure (working copy) @@ -2870,7 +2878,8 @@ #include int main(void) { socklen_t v = 0; return v; } EOF -cc_check && _socklen_t=yes +_socklen_t=no +test "$_winsock2" = yes || cc_check && _socklen_t=yes if test "$_socklen_t" = yes ; then _def_socklen_t='#define HAVE_SOCKLEN_T 1' else @@ -8580,6 +8645,7 @@ /* socklen_t support */ $_def_socklen_t #ifndef HAVE_SOCKLEN_T +#define HAVE_SOCKLEN_T 1 typedef int socklen_t; #endif