Fix clang compile

This commit is contained in:
NATTSiM
2013-12-18 12:52:08 -08:00
committed by Vinnie Falco
parent 893b2d4587
commit eb19343f91
10 changed files with 36 additions and 25 deletions

View File

@@ -439,9 +439,16 @@ void Thread::yield()
#if BEAST_BSD
// ???
#elif BEAST_MAC || BEAST_IOS
// Compiles fine without prctl.h
#include <Foundation/NSThread.h>
#include <Foundation/NSString.h>
#import <objc/message.h>
namespace beast{
#include "../../../modules/beast_core/native/osx_ObjCHelpers.h"
}
#else
# include <sys/prctl.h>
#endif
namespace beast {