summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-06 15:37:06 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-06 15:37:06 (GMT)
commit51d9036cc8cd9f0d4a9ee8f3efc5c100de301cec (patch)
treeef650347d27ef8fe1e0a601cb28313d122ded62f /Modules
parent5d63a39983c7444848b88099ea377b7b923eda8d (diff)
downloadcpython-51d9036cc8cd9f0d4a9ee8f3efc5c100de301cec.zip
cpython-51d9036cc8cd9f0d4a9ee8f3efc5c100de301cec.tar.gz
cpython-51d9036cc8cd9f0d4a9ee8f3efc5c100de301cec.tar.bz2
Norman Vine <nhv@users.sourceforge.net>:
tcp.h is not available on CygWin, so do not try to include it there. This closes SourceForge patch #101802.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 284e5b7..6582713 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -122,7 +122,7 @@ Socket methods:
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#ifndef __BEOS__
+#if !(defined(__BEOS__) || defined(__CYGWIN__))
#include <netinet/tcp.h>
#endif