Added missing include to os.h for osx

pthread.h is needed
This commit is contained in:
Alex Berghage
2013-09-28 00:48:53 -04:00
parent 9afaeacdd7
commit 0d16300ea2

View File

@@ -12,6 +12,9 @@
# include <windows.h>
#elif BX_PLATFORM_NACL || BX_PLATFORM_ANDROID || BX_PLATFORM_LINUX || BX_PLATFORM_OSX || BX_PLATFORM_IOS
# include <sched.h> // sched_yield
# if BX_PLATFORM_OSX
# include <pthread.h> // mach_port_t
# endif
# if BX_PLATFORM_NACL
# include <sys/nacl_syscalls.h> // nanosleep
# else