From c1af0e849d6387a4297a1e1066c107f6f72d8469 Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Wed, 9 May 2018 21:13:01 -0700 Subject: [PATCH] Attempted fix for Cygwin to expose getaddrinfo and friends --- fmacros.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fmacros.h b/fmacros.h index 4cdbc13..f6a6d7d 100644 --- a/fmacros.h +++ b/fmacros.h @@ -7,6 +7,7 @@ #endif #if defined(__CYGWIN__) +#define _POSIX_C_SOURCE 200112L #include #endif