From 0d16300ea235c15ea782575c0a5047bbb6bc45ba Mon Sep 17 00:00:00 2001 From: Alex Berghage Date: Sat, 28 Sep 2013 00:48:53 -0400 Subject: [PATCH] Added missing include to os.h for osx pthread.h is needed --- include/bx/os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/bx/os.h b/include/bx/os.h index bf0ac11..5bffd55 100644 --- a/include/bx/os.h +++ b/include/bx/os.h @@ -12,6 +12,9 @@ # include #elif BX_PLATFORM_NACL || BX_PLATFORM_ANDROID || BX_PLATFORM_LINUX || BX_PLATFORM_OSX || BX_PLATFORM_IOS # include // sched_yield +# if BX_PLATFORM_OSX +# include // mach_port_t +# endif # if BX_PLATFORM_NACL # include // nanosleep # else