diff options
author | Fred Drake <fdrake@acm.org> | 2000-05-16 13:30:12 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-05-16 13:30:12 (GMT) |
commit | 11b093641a98685ac7e34ade559de98bd681c10e (patch) | |
tree | bd0e66013699a0116617fc0e3f8c0e4a6245a3e0 | |
parent | d9c01a56a0c824670591f7b2375b4c27e25b6269 (diff) | |
download | cpython-11b093641a98685ac7e34ade559de98bd681c10e.zip cpython-11b093641a98685ac7e34ade559de98bd681c10e.tar.gz cpython-11b093641a98685ac7e34ade559de98bd681c10e.tar.bz2 |
Donn Cave <donn@oz.net>:
BeOS (up to 5.0) lacks <netinet/tcp.h>.
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ 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__ |