Fix _socket module compilation on Cygwin. (GH-4137) (GH-4145)

(cherry picked from commit 63ae04461f)
This commit is contained in:
Miss Islington (bot) 2018-02-26 12:24:18 -08:00 committed by Serhiy Storchaka
parent 86ea851346
commit e650fd362e

View file

@ -240,7 +240,7 @@ if_indextoname(index) -- return the corresponding interface name\n\
# include <ctype.h>
#endif
#if defined(__APPLE__) || defined(__NetBSD__)
#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__NetBSD__)
# include <sys/ioctl.h>
#endif