aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-08 11:51:52 +0200
committerKim Alvefur <zash@zash.se>2018-09-08 11:51:52 +0200
commit53b9150562598d8e462bfb05d31fae3fed1bd7d0 (patch)
treec6632762f9ff0eca0f3bfa294d398f65ceceed63 /util-src
parente837abbf5d6c5984a25ebd81dc7299cca2a561b1 (diff)
parent530a9f9c8ea8a019f581df9dfc46430cba9ad938 (diff)
downloadprosody-53b9150562598d8e462bfb05d31fae3fed1bd7d0.tar.gz
prosody-53b9150562598d8e462bfb05d31fae3fed1bd7d0.zip
Merge 0.10->trunk
Diffstat (limited to 'util-src')
-rw-r--r--util-src/pposix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c
index 4ce55075..257ab0e9 100644
--- a/util-src/pposix.c
+++ b/util-src/pposix.c
@@ -25,6 +25,9 @@
#define _DEFAULT_SOURCE
#endif
#endif
+#if defined(__APPLE__)
+#define _DARWIN_C_SOURCE
+#endif
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#endif