--- 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>