diff options
author | Zackery Spytz <zspytz@gmail.com> | 2021-10-20 17:14:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 17:14:59 (GMT) |
commit | d8e181925123ab1fd3dfcad3b29325b2b0ff704b (patch) | |
tree | 1d03be3aea75f4e3a71d0edf2dc263ae250462ca | |
parent | d2cd5eef0c3fc0431bfe3fc24b4c020ebfcf8aad (diff) | |
download | cpython-d8e181925123ab1fd3dfcad3b29325b2b0ff704b.zip cpython-d8e181925123ab1fd3dfcad3b29325b2b0ff704b.tar.gz cpython-d8e181925123ab1fd3dfcad3b29325b2b0ff704b.tar.bz2 |
bpo-41374: Remove obsolete exclusion of netinet/tcp.h on Cygwin (GH-21649)
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-07-27-19-21-05.bpo-41374.cd-kFL.rst | 2 | ||||
-rw-r--r-- | Modules/socketmodule.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-07-27-19-21-05.bpo-41374.cd-kFL.rst b/Misc/NEWS.d/next/Library/2020-07-27-19-21-05.bpo-41374.cd-kFL.rst new file mode 100644 index 0000000..a5b2e04 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-07-27-19-21-05.bpo-41374.cd-kFL.rst @@ -0,0 +1,2 @@ +Ensure that ``socket.TCP_*`` constants are exposed on Cygwin 3.1.6 and +greater. diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index e4f375d..aea599f 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -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> |