--- boost/asio/detail/config.hpp.orig 2015-03-23 21:24:12.000000000 +0100 +++ boost/asio/detail/config.hpp 2016-09-29 12:17:42.266966000 +0200 @@ -620,6 +620,7 @@ || defined(_XOPEN_SOURCE) \ || defined(_POSIX_SOURCE) \ || (defined(__MACH__) && defined(__APPLE__)) \ + || defined(__BSDSUniX__) \ || defined(__FreeBSD__) \ || defined(__NetBSD__) \ || defined(__OpenBSD__) \ @@ -658,9 +659,10 @@ # endif // !defined(BOOST_ASIO_HAS_TIMERFD) #endif // defined(__linux__) -// Mac OS X, FreeBSD, NetBSD, OpenBSD: kqueue. +// Mac OS X, BSDSUniX, FreeBSD, NetBSD, OpenBSD: kqueue. #if (defined(__MACH__) && defined(__APPLE__)) \ || defined(__FreeBSD__) \ + || defined(__BSDSUniX__) \ || defined(__NetBSD__) \ || defined(__OpenBSD__) # if !defined(BOOST_ASIO_HAS_KQUEUE) @@ -669,6 +671,7 @@ # endif // !defined(BOOST_ASIO_DISABLE_KQUEUE) # endif // !defined(BOOST_ASIO_HAS_KQUEUE) #endif // (defined(__MACH__) && defined(__APPLE__)) + // || defined(__BSDSUniX__) // || defined(__FreeBSD__) // || defined(__NetBSD__) // || defined(__OpenBSD__)