8000 Fix _socket module compilation on Cygwin. (GH-4137) (GH-4145) · python/cpython@e650fd3 · GitHub
[go: up one dir, main page]

Skip to content

Commit e650fd3

Browse files
miss-islingtonserhiy-storchaka
authored andcommitted
Fix _socket module compilation on Cygwin. (GH-4137) (GH-4145)
(cherry picked from commit 63ae044)
1 parent 86ea851 commit e650fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/socketmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ if_indextoname(index) -- return the corresponding interface name\n\
240240
# include <ctype.h>
241241
#endif
242242

243-
#if defined(__APPLE__) || defined(__NetBSD__)
243+
#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__NetBSD__)
244244
# include <sys/ioctl.h>
245245
#endif
246246

0 commit comments

Comments
 (0)
0