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
|
@ -163,6 +163,7 @@ int shutdown( int, int );
|
|||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
/* Headers needed for inet_ntoa() and inet_addr() */
|
||||
#ifdef __BEOS__
|
||||
|
|
Loading…
Reference in New Issue