OS/2 EMX needs addrinfo.h for code included from getaddrinfo.c

This commit is contained in:
Andrew MacIntyre 2004-07-07 14:02:59 +00:00
parent 378d3c0e51
commit 5a8b4593d3
1 changed files with 4 additions and 0 deletions

View File

@ -279,6 +279,10 @@ int h_errno; /* not used */
#include "addrinfo.h" #include "addrinfo.h"
#endif #endif
#if defined(PYOS_OS2) && defined(PYCC_GCC)
#include "addrinfo.h"
#endif
#ifndef HAVE_INET_PTON #ifndef HAVE_INET_PTON
int inet_pton(int af, const char *src, void *dst); int inet_pton(int af, const char *src, void *dst);
const char *inet_ntop(int af, const void *src, char *dst, socklen_t size); const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);