mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Add '#include <netinet/tcp.h>'
"man tcp" on Solaris says that TCP_NODELAY is defined in netinet/tcp.h, and the Open Groups Unix98 spec agrees (http://www.opengroup.org/onlinepubs/009619199/ninettcp.htm).
This commit is contained in:
parent
2ea3e143f0
commit
52a644cbda
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ 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>
|
||||||
|
#include <netinet/tcp.h>
|
||||||
|
|
||||||
/* 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