From d794d7d30b2aa8ef398f8b5e744caec036470059 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 --- beast/threads/impl/Thread.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beast/threads/impl/Thread.cpp b/beast/threads/impl/Thread.cpp index d6969552b5..79369953bf 100644 --- a/beast/threads/impl/Thread.cpp +++ b/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