From d96fe0730fe573872794d688eb2ffc19eed8fee1 Mon Sep 17 00:00:00 2001 From: "Erik M. Bray" Date: Thu, 26 Oct 2017 17:38:20 +0200 Subject: [PATCH] Cygwin: ioctl is found in sys/ioctl.h --- Modules/socketmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 0758f9bd4099c1..6f114efe31eddf 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -234,7 +234,7 @@ if_indextoname(index) -- return the corresponding interface name\n\ # include #endif -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__CYGWIN__) # include #endif