Commit c246cb76 authored by Jason Tishler's avatar Jason Tishler

Bug #1001857: socketmodule does not build under cygwin

Restore clean building under Cygwin.
parent 356fd19c
......@@ -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);
......
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