From e650fd362ee7753ca906e1d92121a165ce45ecb6 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 26 Feb 2018 12:24:18 -0800 Subject: [PATCH] Fix _socket module compilation on Cygwin. (GH-4137) (GH-4145) (cherry picked from commit 63ae04461fb0cc93ca57cd151103a8dd295581d6) --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index b455021c2f..36920f7f86 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -240,7 +240,7 @@ http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/net/getaddrinfo.c.diff?r1=1.82& # include #endif -#if defined(__APPLE__) || defined(__NetBSD__) +#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__NetBSD__) # include #endif -- 2.40.0