diff --git a/util/sock.h b/util/sock.h index e0a54f2b48b..00142981fcc 100644 --- a/util/sock.h +++ b/util/sock.h @@ -30,6 +30,7 @@ namespace mongo { #if defined(_WIN32) + typedef short sa_family_t; typedef int socklen_t; inline int getLastError() { return WSAGetLastError();