mirror of https://github.com/python/cpython
OS/2 EMX needs addrinfo.h for code included from getaddrinfo.c
This commit is contained in:
parent
378d3c0e51
commit
5a8b4593d3
|
@ -279,6 +279,10 @@ int h_errno; /* not used */
|
|||
#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);
|
||||
|
|
Loading…
Reference in New Issue