Index: Modules/socketmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/socketmodule.c,v retrieving revision 1.298 diff -u -p -r1.298 socketmodule.c --- Modules/socketmodule.c 3 Aug 2004 08:52:45 -0000 1.298 +++ Modules/socketmodule.c 8 Aug 2004 14:29:33 -0000 @@ -285,6 +285,10 @@ int h_errno; /* not used */ #include "addrinfo.h" #endif +#if defined(__CYGWIN__) +#include "addrinfo.h" +#endif + #ifndef HAVE_INET_PTON int inet_pton(int af, const char *src, void *dst); const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);