Diff

util-src/pposix.c @ 9281:927adf8648d3

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 08 Sep 2018 11:51:52 +0200
parent 9279:d5c771097ea7
parent 9280:37b796cc366a
child 9282:778d2dbfc784
line wrap: on
line diff
--- 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