10000 Cygwin: ioctl is found in sys/ioctl.h · python/cpython@d96fe07 · GitHub
[go: up one dir, main page]

Skip to content

Commit d96fe07

Browse files
committed
Cygwin: ioctl is found in sys/ioctl.h
1 parent bdf4298 commit d96fe07

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
@@ -234,7 +234,7 @@ if_indextoname(index) -- return the corresponding interface name\n\
234234
# include <ctype.h>
235235
#endif
236236

237-
#ifdef __APPLE__
237+
#if defined(__APPLE__) || defined(__CYGWIN__)
238238
# include <sys/ioctl.h>
239239
#endif
240240

0 commit comments

Comments
 (0)
0