--- boost/interprocess/detail/workaround.hpp.orig 2015-06-24 16:18:17.000000000 +0200 +++ boost/interprocess/detail/workaround.hpp 2016-09-29 12:48:54.582877000 +0200 @@ -86,7 +86,7 @@ #define BOOST_INTERPROCESS_FILESYSTEM_BASED_POSIX_SHARED_MEMORY //Some systems have "jailed" environments where shm usage is restricted at runtime //and temporary file based shm is possible in those executions. - #elif defined(__FreeBSD__) + #elif defined(__FreeBSD__) || defined(__BSDSUniX__) #define BOOST_INTERPROCESS_RUNTIME_FILESYSTEM_BASED_POSIX_SHARED_MEMORY #endif #endif @@ -103,7 +103,7 @@ ////////////////////////////////////////////////////// #if ( defined(_POSIX_SEMAPHORES) && ((_POSIX_SEMAPHORES + 0) > 0) ) ||\ ( defined(__FreeBSD__) && (__FreeBSD__ >= 4)) || \ - defined(__APPLE__) + defined(__APPLE__) || defined(__BSDSUniX__) #define BOOST_INTERPROCESS_POSIX_NAMED_SEMAPHORES //MacOsX declares _POSIX_SEMAPHORES but sem_init returns ENOSYS #if !defined(__APPLE__) @@ -131,7 +131,7 @@ ////////////////////////////////////////////////////// // Detect BSD derivatives to detect sysctl ////////////////////////////////////////////////////// - #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) + #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__BSDSUniX__) #define BOOST_INTERPROCESS_BSD_DERIVATIVE //Some *BSD systems (OpenBSD & NetBSD) need sys/param.h before sys/sysctl.h, whereas //others (FreeBSD & Darwin) need sys/types.h