diff --git a/reactos/include/psdk/ws2tcpip.h b/reactos/include/psdk/ws2tcpip.h index a3487f33007..0210293d99f 100644 --- a/reactos/include/psdk/ws2tcpip.h +++ b/reactos/include/psdk/ws2tcpip.h @@ -24,7 +24,7 @@ extern "C" { #ifdef _MSC_VER #define WS2TCPIP_INLINE __inline #else -#define WS2TCPIP_INLINE static inline +#define WS2TCPIP_INLINE extern inline #endif /* getaddrinfo error codes */ @@ -758,7 +758,7 @@ idealsendbacklogquery( { DWORD bytes; - return WSAIoctl(s, SIO_IDEAL_SEND_BACKLOG_QUERY, + return WSAIoctl(s, SIO_IDEAL_SEND_BACKLOG_QUERY, NULL, 0, pISB, sizeof(*pISB), &bytes, NULL, NULL); } @@ -771,8 +771,8 @@ idealsendbacklognotify( { DWORD bytes; - return WSAIoctl(s, SIO_IDEAL_SEND_BACKLOG_CHANGE, - NULL, 0, NULL, 0, &bytes, + return WSAIoctl(s, SIO_IDEAL_SEND_BACKLOG_CHANGE, + NULL, 0, NULL, 0, &bytes, lpOverlapped, lpCompletionRoutine); }