openbsd-ports/devel/boost/patches/patch-boost_log_detail_event_hpp
sthen c8d0e4207d update to Boost 1.70, from Brad, bulk tests for various update diffs
(this and earlier releases) me/kmos, various testing/fixes for related
ports from otto daniel bentley rsadowski

ok rsadowski (co-maintainer with Brad)
2020-11-05 11:23:03 +00:00

18 lines
461 B
Plaintext

$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)