--- boost/test/impl/execution_monitor.ipp.orig 2016-12-22 13:33:20.000000000 +0100 +++ boost/test/impl/execution_monitor.ipp 2017-02-08 23:56:30.719667000 +0100 @@ -129,15 +129,16 @@ # include # include -# if defined(__FreeBSD__) +# if defined(__FreeBSD__) || defined(__BSDSUniX__) # include + # ifndef SIGPOLL # define SIGPOLL SIGIO # endif -# if (__FreeBSD_version < 70100) +# if (defined(__FreeBSD__) && (__FreeBSD_version < 70100)) # define ILL_ILLADR 0 // ILL_RESAD_FAULT # define ILL_PRVOPC ILL_PRIVIN_FAULT