]> granicus.if.org Git - python/commitdiff
Norman Vine <nhv@users.sourceforge.net>:
authorFred Drake <fdrake@acm.org>
Fri, 6 Oct 2000 15:37:06 +0000 (15:37 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 6 Oct 2000 15:37:06 +0000 (15:37 +0000)
tcp.h is not available on CygWin, so do not try to include it there.

This closes SourceForge patch #101802.

Modules/socketmodule.c

index 284e5b78b2b2b272337e43b7edbb7de9c6a940a4..6582713425150d32028263f1b7c625f132615954 100644 (file)
@@ -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