From 8e0dda84805c412093ceca583a68c852927e315b Mon Sep 17 00:00:00 2001 From: Patrick Dehne Date: Sun, 20 Oct 2013 01:43:24 +0200 Subject: [PATCH] #ifdef unneeded sys/prctl.h include in the mac build --- src/beast/beast/threads/impl/Thread.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/beast/beast/threads/impl/Thread.cpp b/src/beast/beast/threads/impl/Thread.cpp index d6969552b..79369953b 100644 --- a/src/beast/beast/threads/impl/Thread.cpp +++ b/src/beast/beast/threads/impl/Thread.cpp @@ -438,6 +438,8 @@ void Thread::yield() #include #if BEAST_BSD // ??? +#elif BEAST_MAC || BEAST_IOS +// Compiles fine without prctl.h #else # include #endif