Fix _socket module compilation on Cygwin. (#4137)

This commit is contained in:
Erik Bray 2017-10-27 12:01:17 +02:00 committed by Serhiy Storchaka
parent 031c4bfadb
commit 63ae04461f

View file

@ -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