diff --git a/src/include/os/cygwin32/osiSock.h b/src/include/os/cygwin32/osiSock.h index 0c72ebd2c..117c9090e 100644 --- a/src/include/os/cygwin32/osiSock.h +++ b/src/include/os/cygwin32/osiSock.h @@ -15,7 +15,6 @@ extern "C" { #include #include /* for MAXHOSTNAMELEN */ #include -#include #include #include #include @@ -55,7 +54,6 @@ typedef int SOCKET; #define WSAETIMEDOUT (WSABASEERR+60) -#define IOCPARM_MASK 0xff /* parameters must be < 256 bytes */ #define IOC_OUT 0x40000000 /* copy out parameters */ #define IOC_IN 0x80000000 /* copy in parameters */ #define IOC_INOUT (IOC_IN|IOC_OUT) @@ -74,6 +72,14 @@ typedef int SOCKET; /* Used by ca/if_depends.c ca/ucx.h */ #define IFF_POINTOPOINT 0x10 +/* Used by ca/iocinf.c */ +#define SO_RCVBUF 0x1002 /* receive buffer size */ +#define WSAEISCONN (WSABASEERR+56) +#define WSAEINPROGRESS (WSABASEERR+36) +#define WSAEALREADY (WSABASEERR+37) +#define EISCONN WSAEISCONN +#define EINPROGRESS WSAEINPROGRESS +#define EALREADY WSAEALREADY #endif /*osiSockH*/ diff --git a/src/libCom/osi/os/cygwin32/osdSock.h b/src/libCom/osi/os/cygwin32/osdSock.h index 0c72ebd2c..117c9090e 100644 --- a/src/libCom/osi/os/cygwin32/osdSock.h +++ b/src/libCom/osi/os/cygwin32/osdSock.h @@ -15,7 +15,6 @@ extern "C" { #include #include /* for MAXHOSTNAMELEN */ #include -#include #include #include #include @@ -55,7 +54,6 @@ typedef int SOCKET; #define WSAETIMEDOUT (WSABASEERR+60) -#define IOCPARM_MASK 0xff /* parameters must be < 256 bytes */ #define IOC_OUT 0x40000000 /* copy out parameters */ #define IOC_IN 0x80000000 /* copy in parameters */ #define IOC_INOUT (IOC_IN|IOC_OUT) @@ -74,6 +72,14 @@ typedef int SOCKET; /* Used by ca/if_depends.c ca/ucx.h */ #define IFF_POINTOPOINT 0x10 +/* Used by ca/iocinf.c */ +#define SO_RCVBUF 0x1002 /* receive buffer size */ +#define WSAEISCONN (WSABASEERR+56) +#define WSAEINPROGRESS (WSABASEERR+36) +#define WSAEALREADY (WSABASEERR+37) +#define EISCONN WSAEISCONN +#define EINPROGRESS WSAEINPROGRESS +#define EALREADY WSAEALREADY #endif /*osiSockH*/