Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 12712:be55f5ddc615 legacy-trunk
Donn Cave <donn@oz.net>:
BeOS (up to 5.0) lacks <netinet/tcp.h>.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 16 May 2000 13:30:12 +0000 |
| parents | 1c7c2dd1beb1 |
| children | c17fd2ca6659 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Mon May 15 15:36:52 2000 +0000 +++ b/Modules/socketmodule.c Tue May 16 13:30:12 2000 +0000 @@ -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__
