commit | 11b093641a98685ac7e34ade559de98bd681c10e | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Tue May 16 13:30:12 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Tue May 16 13:30:12 2000 +0000 |
tree | bd0e66013699a0116617fc0e3f8c0e4a6245a3e0 | |
parent | d9c01a56a0c824670591f7b2375b4c27e25b6269 [diff] |
Donn Cave <donn@oz.net>: BeOS (up to 5.0) lacks <netinet/tcp.h>.
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 56f1498..2c0fc56 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c
@@ -166,7 +166,9 @@ #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__