python: Fix socket.TCP_NODELAY missing
Upstream bug: https://bugs.python.org/issue41374 Fixes #2050
This commit is contained in:
13
python/930-fix-missing-tcp-include.patch
Normal file
13
python/930-fix-missing-tcp-include.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- Python-3.8.5/Modules/socketmodule.h.orig 2020-07-20 15:01:32.000000000 +0200
|
||||
+++ Python-3.8.5/Modules/socketmodule.h 2020-07-23 09:32:42.727747500 +0200
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user