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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1514>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to