diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-03-31 17:24:30 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-03-31 17:24:30 (GMT) |
commit | 52a644cbda06985def76b077e541a88d1f60e61d (patch) | |
tree | 243a189963b5fc102d5c9095b03bf4616350d7b8 /Modules/socketmodule.c | |
parent | 2ea3e143f071344c3fb847faf33b5308e25bb5c5 (diff) | |
download | cpython-52a644cbda06985def76b077e541a88d1f60e61d.zip cpython-52a644cbda06985def76b077e541a88d1f60e61d.tar.gz cpython-52a644cbda06985def76b077e541a88d1f60e61d.tar.bz2 |
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).
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 9798dea..a6f4664 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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__ |