From 6b19d5090db8a725f9d1ee6ba7afef5af8723247 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Sat, 27 Jul 2013 17:28:33 -0700 Subject: [PATCH] Fixed Linux build. --- include/bx/os.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/bx/os.h b/include/bx/os.h index 4c87641..3ef4474 100644 --- a/include/bx/os.h +++ b/include/bx/os.h @@ -14,8 +14,12 @@ # include // nanosleep # else # include // nanosleep -# include +# include // dlopen, dlclose, dlsym # endif // BX_PLATFORM_NACL +# if BX_PLATFORM_LINUX +# include // syscall +# include +# endif // BX_PLATFORM_LINUX #endif // BX_PLATFORM_ namespace bx