mirror of https://github.com/python/cpython
bpo-41374: Remove obsolete exclusion of netinet/tcp.h on Cygwin (GH-21649)
This commit is contained in:
parent
d2cd5eef0c
commit
d8e1819251
|
@ -0,0 +1,2 @@
|
|||
Ensure that ``socket.TCP_*`` constants are exposed on Cygwin 3.1.6 and
|
||||
greater.
|
|
@ -8,9 +8,7 @@
|
|||
# include <sys/socket.h>
|
||||
# endif
|
||||
# include <netinet/in.h>
|
||||
# if !defined(__CYGWIN__)
|
||||
# include <netinet/tcp.h>
|
||||
# endif
|
||||
# include <netinet/tcp.h>
|
||||
|
||||
#else /* MS_WINDOWS */
|
||||
# include <winsock2.h>
|
||||
|
|
Loading…
Reference in New Issue