From: Julien Wadel Date: Wed, 4 Jun 2025 10:26:06 +0000 (+0200) Subject: ITS#10353 WINSOCK: add missing ENOTCONN #define X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb2d478ef51b5723dae90aaf0d326120d1a13ac2;p=thirdparty%2Fopenldap.git ITS#10353 WINSOCK: add missing ENOTCONN #define Value is set to 126 by "ucrt/errno.h" but WSAENOTCONN is set to 10057L by winerror.h (used by WSAGetLastError()). --- diff --git a/include/ac/socket.h b/include/ac/socket.h index a80254120f..5d739920c6 100644 --- a/include/ac/socket.h +++ b/include/ac/socket.h @@ -99,6 +99,7 @@ # endif #define EWOULDBLOCK WSAEWOULDBLOCK +#define ENOTCONN WSAENOTCONN #define EINPROGRESS WSAEINPROGRESS #define ETIMEDOUT WSAETIMEDOUT