mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
OS/2 EMX needs addrinfo.h for code included from getaddrinfo.c
This commit is contained in:
parent
378d3c0e51
commit
5a8b4593d3
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue