util-src/pposix.c
changeset 9283 37b796cc366a
parent 9281 8f9e18d4fe50
child 9284 927adf8648d3
--- a/util-src/pposix.c	Sat Aug 18 12:07:40 2018 +0200
+++ b/util-src/pposix.c	Sat Sep 08 11:46:02 2018 +0200
@@ -21,6 +21,9 @@
 #else
 #define _DEFAULT_SOURCE
 #endif
+#if defined(__APPLE__)
+#define _DARWIN_C_SOURCE
+#endif
 #define _POSIX_C_SOURCE 200809L
 
 #include <stdlib.h>