bpo-41374: Remove obsolete exclusion of netinet/tcp.h on Cygwin (GH-21649)

This commit is contained in:
Zackery Spytz 2021-10-20 10:14:59 -07:00 committed by GitHub
parent d2cd5eef0c
commit d8e1819251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,2 @@
Ensure that ``socket.TCP_*`` constants are exposed on Cygwin 3.1.6 and
greater.

View file

@ -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>