]> granicus.if.org Git - python/commitdiff
Add '#include <netinet/tcp.h>'
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 31 Mar 2000 17:24:30 +0000 (17:24 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 31 Mar 2000 17:24:30 +0000 (17:24 +0000)
"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).

Modules/socketmodule.c

index 9798deaac08e602b3a57e24eae385ea13afaddae..a6f46648d982cccfbc20502a629be227d950c169 100644 (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__