From 350280885d76b24bbf89153c19f2295a943cb74d Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 2 Apr 2010 10:59:35 +0000 Subject: [PATCH 1/1] [PSDK] - winsock.h : Fix a typo, and remove some duplicate definitions. svn path=/branches/header-work/; revision=46672 --- include/psdk/winsock.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/psdk/winsock.h b/include/psdk/winsock.h index 55ccc7bfd6e..75283ec215b 100644 --- a/include/psdk/winsock.h +++ b/include/psdk/winsock.h @@ -166,6 +166,7 @@ struct servent { #else short s_port; char *s_proto; +#endif }; struct protoent { @@ -491,9 +492,6 @@ typedef struct sockaddr_in *LPSOCKADDR_IN; typedef struct linger LINGER; typedef struct linger *PLINGER; typedef struct linger *LPLINGER; -typedef struct in_addr IN_ADDR; -typedef struct in_addr *PIN_ADDR; -typedef struct in_addr *LPIN_ADDR; typedef struct fd_set FD_SET; typedef struct fd_set *PFD_SET; typedef struct fd_set *LPFD_SET; @@ -532,6 +530,7 @@ typedef struct WSAData { unsigned short iMaxSockets; unsigned short iMaxUdpDg; char *lpVendorInfo; +#endif } WSADATA, FAR *LPWSADATA; struct ip_mreq { -- 2.17.1