diff Modules/socketmodule.c @ 33066:cda0455bd0a0 legacy-trunk

Bug #1001857: socketmodule does not build under cygwin Restore clean building under Cygwin.
author Jason Tishler <jason@tishler.net>
date Mon, 09 Aug 2004 13:25:59 +0000
parents 90da70986407
children f98e59f2f89d
line wrap: on
line diff
--- a/Modules/socketmodule.c	Mon Aug 09 11:34:47 2004 +0000
+++ b/Modules/socketmodule.c	Mon Aug 09 13:25:59 2004 +0000
@@ -286,6 +286,10 @@
 #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);