[New-bugs-announce] [issue31878] Cygwin: _socket module does not compile due to missing ioctl declaration

Erik Bray report at bugs.python.org
Thu Oct 26 11:42:21 EDT 2017


New submission from Erik Bray <erik.m.bray at gmail.com>:

On Cygwin, ioctl() is found in sys/ioctl.h (as on Darwin).  Without adding something to the effect of

#ifdef __CYGWIN__
# include <sys/ioctl.h>
#endif

the _socket module cannot compile on Cygwin.  A fix was this was included in the (rejected) https://bugs.python.org/issue29718; this issue is just as a reminder that it remains an issue and to have a bug report to attach a more focused PR to.

----------
messages: 305065
nosy: erik.bray
priority: normal
severity: normal
status: open
title: Cygwin: _socket module does not compile due to missing ioctl declaration
type: compile error

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31878>
_______________________________________


More information about the New-bugs-announce mailing list