mirror of
https://github.com/python/cpython.git
synced 2026-04-26 22:01:08 +00:00
Fix _socket module compilation on Cygwin. (GH-4137) (GH-4145)
(cherry picked from commit 63ae04461f)
This commit is contained in:
parent
86ea851346
commit
e650fd362e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue