Kaydet (Commit) 5a8b4593 authored tarafından Andrew MacIntyre's avatar Andrew MacIntyre

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

üst 378d3c0e
...@@ -279,6 +279,10 @@ int h_errno; /* not used */ ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment