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

Skip to content

Commit 11b0936

Browse files
committed
Donn Cave <[email protected]>:
BeOS (up to 5.0) lacks <netinet/tcp.h>.
1 parent d9c01a5 commit 11b0936

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Modules/socketmodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ int shutdown( int, int );
166166
#include <netdb.h>
167167
#include <sys/socket.h>
168168
#include <netinet/in.h>
169+
#ifndef __BEOS__
169170
#include <netinet/tcp.h>
171+
#endif
170172

171173
/* Headers needed for inet_ntoa() and inet_addr() */
172174
#ifdef __BEOS__

0 commit comments

Comments
 (0)