summaryrefslogtreecommitdiff
path: root/fmacros.h
diff options
context:
space:
mode:
authornot-a-robot <not-a-robot@rediger.net>2016-04-20 16:44:15 +0200
committernot-a-robot <not-a-robot@rediger.net>2016-04-20 16:44:15 +0200
commit92d0e236611b841179d180e848c184d107f4a8be (patch)
treee9b27143ad29bf1b3ebbaf61c93283efd8360d20 /fmacros.h
parent2e11f0c892aff2e8e8fedebce6ac9bf48df64647 (diff)
parent3cba03237ee7dd1a08f15d3181c8810e816395f8 (diff)
Auto merge of #414 - redis:fix-cygwin, r=badboy
Fix cygwin
Diffstat (limited to 'fmacros.h')
-rw-r--r--fmacros.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fmacros.h b/fmacros.h
index 82ff08d..7635180 100644
--- a/fmacros.h
+++ b/fmacros.h
@@ -6,6 +6,10 @@
#define _DEFAULT_SOURCE
#endif
+#if defined(__CYGWIN__)
+#include <sys/cdefs.h>
+#endif
+
#if defined(__sun__)
#define _POSIX_C_SOURCE 200112L
#elif defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__)