Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51d9036

Browse files
committed
Norman Vine <[email protected]>:
tcp.h is not available on CygWin, so do not try to include it there. This closes SourceForge patch #101802.
1 parent 5d63a39 commit 51d9036

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/socketmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Socket methods:
122122
#include <netdb.h>
123123
#include <sys/socket.h>
124124
#include <netinet/in.h>
125-
#ifndef __BEOS__
125+
#if !(defined(__BEOS__) || defined(__CYGWIN__))
126126
#include <netinet/tcp.h>
127127
#endif
128128

0 commit comments

Comments
 (0)