Bug #1001857: socketmodule does not build under cygwin

Restore clean building under Cygwin.
This commit is contained in:
Jason Tishler 2004-08-09 13:25:59 +00:00
parent 356fd19c31
commit c246cb76e6
1 changed files with 4 additions and 0 deletions

View File

@ -286,6 +286,10 @@ int h_errno; /* not used */
#include "addrinfo.h"
#endif
#if defined(__CYGWIN__)
#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);