summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-26 20:24:18 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-02-26 20:24:18 (GMT)
commite650fd362ee7753ca906e1d92121a165ce45ecb6 (patch)
tree4da408af5801295c163cf76eae74a9bd7109a18d
parent86ea85134645c75783936ca4b5c6269cb8ac4634 (diff)
downloadcpython-e650fd362ee7753ca906e1d92121a165ce45ecb6.zip
cpython-e650fd362ee7753ca906e1d92121a165ce45ecb6.tar.gz
cpython-e650fd362ee7753ca906e1d92121a165ce45ecb6.tar.bz2
Fix _socket module compilation on Cygwin. (GH-4137) (GH-4145)
(cherry picked from commit 63ae04461fb0cc93ca57cd151103a8dd295581d6)
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index b455021..36920f7 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -240,7 +240,7 @@ http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/net/getaddrinfo.c.diff?r1=1.82&
# include <ctype.h>
#endif
-#if defined(__APPLE__) || defined(__NetBSD__)
+#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__NetBSD__)
# include <sys/ioctl.h>
#endif