$OpenBSD: patch-boost_test_impl_execution_monitor_ipp,v 1.4 2020/08/15 20:30:40 rsadowski Exp $
Index: boost/test/impl/execution_monitor.ipp
--- boost/test/impl/execution_monitor.ipp.orig
+++ boost/test/impl/execution_monitor.ipp
@@ -386,14 +386,18 @@ system_signal_exception::report() const
         report_error( execution_exception::system_error,
                       "signal: the expiration of a timer set by timer_settimer()" );
         break;
+#ifdef SI_ASYNCIO
     case SI_ASYNCIO:
         report_error( execution_exception::system_error,
                       "signal: generated by the completion of an asynchronous I/O request" );
         break;
+#endif
+#ifdef SI_MESGQ
     case SI_MESGQ:
         report_error( execution_exception::system_error,
                       "signal: generated by the the arrival of a message on an empty message queue" );
         break;
+#endif
     default:
         break;
     }
