mirror of https://github.com/python/cpython
Bug #1001857: socketmodule does not build under cygwin
Restore clean building under Cygwin.
This commit is contained in:
parent
356fd19c31
commit
c246cb76e6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue