mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Donn Cave <donn@oz.net>:
BeOS (up to 5.0) lacks <netinet/tcp.h>.
This commit is contained in:
parent
d9c01a56a0
commit
11b093641a
1 changed files with 2 additions and 0 deletions
|
@ -166,7 +166,9 @@ int shutdown( int, int );
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
#ifndef __BEOS__
|
||||||
#include <netinet/tcp.h>
|
#include <netinet/tcp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Headers needed for inet_ntoa() and inet_addr() */
|
/* Headers needed for inet_ntoa() and inet_addr() */
|
||||||
#ifdef __BEOS__
|
#ifdef __BEOS__
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue