diff options
author | not-a-robot <not-a-robot@rediger.net> | 2016-04-20 16:44:15 +0200 |
---|---|---|
committer | not-a-robot <not-a-robot@rediger.net> | 2016-04-20 16:44:15 +0200 |
commit | 92d0e236611b841179d180e848c184d107f4a8be (patch) | |
tree | e9b27143ad29bf1b3ebbaf61c93283efd8360d20 /fmacros.h | |
parent | 2e11f0c892aff2e8e8fedebce6ac9bf48df64647 (diff) | |
parent | 3cba03237ee7dd1a08f15d3181c8810e816395f8 (diff) |
Auto merge of #414 - redis:fix-cygwin, r=badboy
Fix cygwin
Diffstat (limited to 'fmacros.h')
-rw-r--r-- | fmacros.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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__) |