summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2018-05-09 21:13:01 -0700
committermichael-grunder <michael.grunder@gmail.com>2018-05-09 21:13:01 -0700
commitc1af0e849d6387a4297a1e1066c107f6f72d8469 (patch)
tree1c32f31d1c503d37f1bb7f1c97779f1bfd657999
parentfbc4971d7d49e9e39c3ba278be1ee9e99d00d41d (diff)
Attempted fix for Cygwin to expose getaddrinfo and friends
-rw-r--r--fmacros.h1
1 files changed, 1 insertions, 0 deletions
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 <sys/cdefs.h>
#endif