--- boost/interprocess/shared_memory_object.hpp.orig 2016-09-29 02:10:30.408582000 +0200 +++ boost/interprocess/shared_memory_object.hpp 2016-09-29 02:11:16.431560000 +0200 @@ -33,7 +33,7 @@ # include //ftruncate, close # include //mode_t, S_IRWXG, S_IRWXO, S_IRWXU, # if defined(BOOST_INTERPROCESS_RUNTIME_FILESYSTEM_BASED_POSIX_SHARED_MEMORY) -# if defined(__FreeBSD__) +# if defined(__FreeBSD__) || defined(__BSDSUniX__) # include # endif # endif @@ -251,7 +251,7 @@ #ifdef BOOST_INTERPROCESS_RUNTIME_FILESYSTEM_BASED_POSIX_SHARED_MEMORY -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__BSDSUniX__) inline bool use_filesystem_based_posix() {