--- boost/interprocess/mapped_region.hpp.orig 2016-09-29 02:09:12.594953000 +0200 +++ boost/interprocess/mapped_region.hpp 2016-09-29 02:09:36.594589000 +0200 @@ -31,7 +31,7 @@ //A lot of UNIXes have destructive semantics for MADV_DONTNEED, so //we need to be careful to allow it. -#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__BSDSUniX__) #define BOOST_INTERPROCESS_MADV_DONTNEED_HAS_NONDESTRUCTIVE_SEMANTICS #endif