Hi, my previous patch to psdk_inc/_ip_types.h didn't define sockaddr_in when building Cygwin. That was a mistake. Patch below.
Thanks, Corinna * psdk_inc/_ip_types.h (sockaddr_in): Define unconditionally. Index: psdk_inc/_ip_types.h =================================================================== --- psdk_inc/_ip_types.h (revision 5153) +++ psdk_inc/_ip_types.h (working copy) @@ -49,14 +49,6 @@ short p_proto; }; - -struct sockaddr_in { - short sin_family; - u_short sin_port; - struct in_addr sin_addr; - char sin_zero[8]; -}; - struct sockaddr { u_short sa_family; char sa_data[14]; @@ -74,6 +66,13 @@ #endif /* !__INSIDE_CYGWIN__ */ +struct sockaddr_in { + short sin_family; + u_short sin_port; + struct in_addr sin_addr; + char sin_zero[8]; +}; + typedef struct hostent HOSTENT; typedef struct hostent *PHOSTENT; typedef struct hostent *LPHOSTENT; ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public