Merge 0.10->trunk
authorKim Alvefur <zash@zash.se>
Sat, 08 Sep 2018 11:51:52 +0200
changeset 9284 927adf8648d3
parent 9282 d5c771097ea7 (current diff)
parent 9283 37b796cc366a (diff)
child 9285 778d2dbfc784
Merge 0.10->trunk
util-src/pposix.c
--- a/util-src/pposix.c	Sat Sep 08 11:42:22 2018 +0200
+++ b/util-src/pposix.c	Sat Sep 08 11:51:52 2018 +0200
@@ -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