aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/pposix.c
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
commit74fa6ced2119977e22d83a2f16b4817231712f66 (patch)
treec6632762f9ff0eca0f3bfa294d398f65ceceed63 /util-src/pposix.c
parent02b648d54f973e311001509960510da02a76e9c9 (diff)
parente6797cc6b2ae75965c402eb13f3159ed3337f475 (diff)
downloadprosody-74fa6ced2119977e22d83a2f16b4817231712f66.tar.gz
prosody-74fa6ced2119977e22d83a2f16b4817231712f66.zip
Merge 0.10->trunk
Diffstat (limited to 'util-src/pposix.c')
-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