# HG changeset patch # User Kim Alvefur # Date 1536400312 -7200 # Node ID 927adf8648d3d56e62c291fba425876f0ea9b5ee # Parent d5c771097ea7dd788e2ad4d71252fe9e407b151d# Parent 37b796cc366a2345dda37eb95f34191a50fc56ff Merge 0.10->trunk diff -r d5c771097ea7 -r 927adf8648d3 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