From: Zackery Spytz Date: Wed, 20 Oct 2021 17:14:59 +0000 (-0700) Subject: bpo-41374: Remove obsolete exclusion of netinet/tcp.h on Cygwin (GH-21649) X-Git-Tag: v3.11.0a2~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8e181925123ab1fd3dfcad3b29325b2b0ff704b;p=thirdparty%2FPython%2Fcpython.git bpo-41374: Remove obsolete exclusion of netinet/tcp.h on Cygwin (GH-21649) --- 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 000000000000..a5b2e042a3fa --- /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 e4f375d5e810..aea599f0ee6c 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -8,9 +8,7 @@ # include # endif # include -# if !defined(__CYGWIN__) -# include -# endif +# include #else /* MS_WINDOWS */ # include