diff options
author | Kim Alvefur <zash@zash.se> | 2019-11-16 16:52:31 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-11-16 16:52:31 +0100 |
commit | 612b1ffff129320130095099acc13b335aa14b9c (patch) | |
tree | 6e391ff6608608f181e42c92ee6dfd7c534da255 /util-src/pposix.c | |
parent | 6a2b94e8b8629d6571202a34b6ebbd4793fe4abe (diff) | |
parent | 70a81b5ffdb84e5dc082fee557dc9e3af237bc27 (diff) | |
download | prosody-612b1ffff129320130095099acc13b335aa14b9c.tar.gz prosody-612b1ffff129320130095099acc13b335aa14b9c.zip |
Merge 0.11->trunk
Diffstat (limited to 'util-src/pposix.c')
-rw-r--r-- | util-src/pposix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c index 004f61a6..d64b6fc6 100644 --- a/util-src/pposix.c +++ b/util-src/pposix.c @@ -25,14 +25,18 @@ #define _DEFAULT_SOURCE #endif #endif + #if defined(__APPLE__) #ifndef _DARWIN_C_SOURCE #define _DARWIN_C_SOURCE #endif #endif + +#if ! defined(__FreeBSD__) #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 200809L #endif +#endif #include <stdlib.h> #include <math.h> |