summaryrefslogtreecommitdiff
path: root/fmacros.h
diff options
context:
space:
mode:
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 19d7b21..7a85121 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__)