From 97fb0d815c8d0e152008c51f1b17f2d02175e674 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 22 Mar 2004 20:37:40 +0000 Subject: [PATCH] Porting fixes. --- dlls/wsock32/protocol.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/dlls/wsock32/protocol.c b/dlls/wsock32/protocol.c index 95f899c1db4..03b0b8a9136 100644 --- a/dlls/wsock32/protocol.c +++ b/dlls/wsock32/protocol.c @@ -30,12 +30,6 @@ #include #include -#ifdef HAVE_SYS_SOCKET_H -#include -#endif -#ifdef HAVE_NETINET_IN_H -# include -#endif #ifdef HAVE_ARPA_INET_H #include #endif @@ -141,7 +135,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol, lpBuffer->iAddressFamily = WS_AF_INET; lpBuffer->iMaxSockAddr = 0x10; /* NT4 SP5 */ lpBuffer->iMinSockAddr = 0x10; /* NT4 SP5 */ - lpBuffer->iSocketType = SOCK_STREAM; + lpBuffer->iSocketType = WS_SOCK_STREAM; lpBuffer->dwMessageSize = 0; lpProtName = NameTcp; break; @@ -152,7 +146,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol, lpBuffer->iAddressFamily = WS_AF_INET; lpBuffer->iMaxSockAddr = 0x10; /* NT4 SP5 */ lpBuffer->iMinSockAddr = 0x10; /* NT4 SP5 */ - lpBuffer->iSocketType = SOCK_DGRAM; + lpBuffer->iSocketType = WS_SOCK_DGRAM; lpBuffer->dwMessageSize = 65457; /* NT4 SP5 */ lpProtName = NameUdp; break; @@ -163,7 +157,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol, lpBuffer->iAddressFamily = WS_AF_IPX; lpBuffer->iMaxSockAddr = 0x10; /* NT4 SP5 */ lpBuffer->iMinSockAddr = 0x0e; /* NT4 SP5 */ - lpBuffer->iSocketType = SOCK_DGRAM; + lpBuffer->iSocketType = WS_SOCK_DGRAM; lpBuffer->dwMessageSize = 576; /* NT4 SP5 */ lpProtName = NameIpx; break;