Commit 97fb0d81 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

Porting fixes.

parent 7465011a
...@@ -30,12 +30,6 @@ ...@@ -30,12 +30,6 @@
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_INET_H #ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h> #include <arpa/inet.h>
#endif #endif
...@@ -141,7 +135,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol, ...@@ -141,7 +135,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol,
lpBuffer->iAddressFamily = WS_AF_INET; lpBuffer->iAddressFamily = WS_AF_INET;
lpBuffer->iMaxSockAddr = 0x10; /* NT4 SP5 */ lpBuffer->iMaxSockAddr = 0x10; /* NT4 SP5 */
lpBuffer->iMinSockAddr = 0x10; /* NT4 SP5 */ lpBuffer->iMinSockAddr = 0x10; /* NT4 SP5 */
lpBuffer->iSocketType = SOCK_STREAM; lpBuffer->iSocketType = WS_SOCK_STREAM;
lpBuffer->dwMessageSize = 0; lpBuffer->dwMessageSize = 0;
lpProtName = NameTcp; lpProtName = NameTcp;
break; break;
...@@ -152,7 +146,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol, ...@@ -152,7 +146,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol,
lpBuffer->iAddressFamily = WS_AF_INET; lpBuffer->iAddressFamily = WS_AF_INET;
lpBuffer->iMaxSockAddr = 0x10; /* NT4 SP5 */ lpBuffer->iMaxSockAddr = 0x10; /* NT4 SP5 */
lpBuffer->iMinSockAddr = 0x10; /* NT4 SP5 */ lpBuffer->iMinSockAddr = 0x10; /* NT4 SP5 */
lpBuffer->iSocketType = SOCK_DGRAM; lpBuffer->iSocketType = WS_SOCK_DGRAM;
lpBuffer->dwMessageSize = 65457; /* NT4 SP5 */ lpBuffer->dwMessageSize = 65457; /* NT4 SP5 */
lpProtName = NameUdp; lpProtName = NameUdp;
break; break;
...@@ -163,7 +157,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol, ...@@ -163,7 +157,7 @@ static INT WSOCK32_EnterSingleProtocol( INT iProtocol,
lpBuffer->iAddressFamily = WS_AF_IPX; lpBuffer->iAddressFamily = WS_AF_IPX;
lpBuffer->iMaxSockAddr = 0x10; /* NT4 SP5 */ lpBuffer->iMaxSockAddr = 0x10; /* NT4 SP5 */
lpBuffer->iMinSockAddr = 0x0e; /* NT4 SP5 */ lpBuffer->iMinSockAddr = 0x0e; /* NT4 SP5 */
lpBuffer->iSocketType = SOCK_DGRAM; lpBuffer->iSocketType = WS_SOCK_DGRAM;
lpBuffer->dwMessageSize = 576; /* NT4 SP5 */ lpBuffer->dwMessageSize = 576; /* NT4 SP5 */
lpProtName = NameIpx; lpProtName = NameIpx;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment