$OpenBSD: patch-boost_log_detail_event_hpp,v 1.2 2020/11/05 11:23:03 sthen Exp $

Choosing the event model requires _POSIX defines that live in unistd.h,
so make sure this is always included to keep things consistent.

Index: boost/log/detail/event.hpp
--- boost/log/detail/event.hpp.orig
+++ boost/log/detail/event.hpp
@@ -19,6 +19,8 @@
 #pragma once
 #endif
 
+#include <unistd.h>
+
 #ifndef BOOST_LOG_NO_THREADS
 
 #if defined(BOOST_THREAD_PLATFORM_PTHREAD)
