Commits

Anonymous committed 737e892

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

Comments (0)

Files changed (1)

Modules/socketmodule.c

 #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);