]> granicus.if.org Git - python/commitdiff
Donn Cave <donn@oz.net>:
authorFred Drake <fdrake@acm.org>
Tue, 16 May 2000 13:30:12 +0000 (13:30 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 16 May 2000 13:30:12 +0000 (13:30 +0000)
BeOS (up to 5.0) lacks <netinet/tcp.h>.

Modules/socketmodule.c

index 56f1498b67975b59d926cb1766e87036e4177c17..2c0fc56d747b5e0be625acfac54784d26220a83f 100644 (file)
@@ -166,7 +166,9 @@ int shutdown( int, int );
 #include <netdb.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+#ifndef __BEOS__
 #include <netinet/tcp.h>
+#endif
 
 /* Headers needed for inet_ntoa() and inet_addr() */
 #ifdef __BEOS__