[Python-checkins] CVS: python/dist/src/Modules socketmodule.c,1.98,1.99
Andrew M. Kuchling
python-dev@python.org
Fri, 31 Mar 2000 12:24:33 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Modules
In directory amarok:/home/akuchlin/src/Python-1.5/Modules
Modified Files:
socketmodule.c
Log Message:
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).
Index: socketmodule.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/socketmodule.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -r1.98 -r1.99
*** socketmodule.c 2000/03/24 20:56:56 1.98
--- socketmodule.c 2000/03/31 17:24:30 1.99
***************
*** 164,167 ****
--- 164,168 ----
#include <sys/socket.h>
#include <netinet/in.h>
+ #include <netinet/tcp.h>
/* Headers needed for inet_ntoa() and inet_addr() */