commit | 51d9036cc8cd9f0d4a9ee8f3efc5c100de301cec | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Oct 06 15:37:06 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Oct 06 15:37:06 2000 +0000 |
tree | ef650347d27ef8fe1e0a601cb28313d122ded62f | |
parent | 5d63a39983c7444848b88099ea377b7b923eda8d [diff] |
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.
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 @@ #include <netdb.h> #include <sys/socket.h> #include <netinet/in.h> -#ifndef __BEOS__ +#if !(defined(__BEOS__) || defined(__CYGWIN__)) #include <netinet/tcp.h> #endif