diff --git a/src/config/afsconfig-windows.h b/src/config/afsconfig-windows.h index 1049f8df6e..86ddeda6de 100644 --- a/src/config/afsconfig-windows.h +++ b/src/config/afsconfig-windows.h @@ -200,7 +200,8 @@ #endif /* Windows does not provide socklen_t prior to WDK 6.0 */ -#undef HAVE_SOCKLEN_T +#define HAVE_SOCKLEN_T 1 +typedef int socklen_t; #if (_MSC_VER < 1400) typedef int errno_t;