[issue1514] missing constants in socket module
Christian Heimes
report at bugs.python.org
Fri Nov 30 12:28:46 CET 2007
Christian Heimes added the comment:
On my Linux box (Ubuntu 7.10, i386, 2.6.22) the TCP_* constants are also
missing. This patch solves the bug.
Index: Modules/socketmodule.h
===================================================================
--- Modules/socketmodule.h (revision 59228)
+++ Modules/socketmodule.h (working copy)
@@ -8,9 +8,7 @@
# include <sys/socket.h>
# endif
# include <netinet/in.h>
-# if defined(__CYGWIN__) || (defined(PYOS_OS2) && defined(PYCC_VACPP))
-# include <netinet/tcp.h>
-# endif
+# include <netinet/tcp.h>
#else /* MS_WINDOWS */
#if _MSC_VER >= 1300
----------
assignee: -> lemburg
components: +Extension Modules -Library (Lib), Macintosh
keywords: +patch, py3k
nosy: +lemburg, tiran
priority: -> normal
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1514>
__________________________________
More information about the Python-bugs-list
mailing list