diff options
-rw-r--r-- | Modules/socketmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ 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); |