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:
Andrew M. Kuchling 2000-03-31 17:24:30 +00:00
parent 2ea3e143f0
commit 52a644cbda
1 changed files with 1 additions and 0 deletions

View File

@ -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__