commit | c246cb76e64830471cf56c4f5bedb02793c8e2db | [log] [tgz] |
---|---|---|
author | Jason Tishler <jason@tishler.net> | Mon Aug 09 13:25:59 2004 +0000 |
committer | Jason Tishler <jason@tishler.net> | Mon Aug 09 13:25:59 2004 +0000 |
tree | e7b3ea00a928a400e89de919ec241f38f483067e | |
parent | 356fd19c31882e35b34027b4c12fa8922e74e3ca [diff] [blame] |
Bug #1001857: socketmodule does not build under cygwin Restore clean building under Cygwin.
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index f06e253..8e1bc19 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c
@@ -286,6 +286,10 @@ #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);