Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 32521:737e892a2c2c legacy-trunk
OS/2 EMX needs addrinfo.h for code included from getaddrinfo.c
| author | Andrew MacIntyre <andymac@bullseye.apana.org.au> |
|---|---|
| date | Wed, 07 Jul 2004 14:02:59 +0000 |
| parents | d8abf582f893 |
| children | 21fd6e62cd27 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Wed Jul 07 13:55:25 2004 +0000 +++ b/Modules/socketmodule.c Wed Jul 07 14:02:59 2004 +0000 @@ -279,6 +279,10 @@ #include "addrinfo.h" #endif +#if defined(PYOS_OS2) && defined(PYCC_GCC) +#include "addrinfo.h" +#endif + #ifndef HAVE_INET_PTON int inet_pton(int af, const char *src, void *dst); const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
