diff options
author | 2017-10-27 12:01:17 +0200 | |
---|---|---|
committer | 2017-10-27 13:01:17 +0300 | |
commit | 63ae04461fb0cc93ca57cd151103a8dd295581d6 (patch) | |
tree | 698e1e9da30c3e090cca3ce1762343e3d7997aa2 /Modules/socketmodule.c | |
parent | bpo-31877: Add _Py_LegacyLocaleDetected and _PyCoerceLegacyLocale to pylifecy... (diff) | |
download | cpython-63ae04461fb0cc93ca57cd151103a8dd295581d6.tar.gz cpython-63ae04461fb0cc93ca57cd151103a8dd295581d6.tar.bz2 cpython-63ae04461fb0cc93ca57cd151103a8dd295581d6.zip |
Fix _socket module compilation on Cygwin. (#4137)
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 0758f9bd409..6f114efe31e 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -234,7 +234,7 @@ http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/net/getaddrinfo.c.diff?r1=1.82& # include <ctype.h> #endif -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__CYGWIN__) # include <sys/ioctl.h> #endif |