1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix building on OSX, broken since "Clean up threading"

Commit

e4bff8be94 - Clean up threading

by @ShadowNinja has broken the OSX build.

Including things inside a namespace isn't good.

Also fixes #3124.
This commit is contained in:
Pavel Puchkin 2015-08-27 20:51:07 +02:00 committed by est31
parent 91bf68e1fe
commit 588f0c1fb0
2 changed files with 10 additions and 11 deletions

View file

@ -80,7 +80,7 @@ DEALINGS IN THE SOFTWARE.
#include <sys/processor.h>
#elif defined(__APPLE__)
#include <mach/mach_init.h>
#include <mach/thread_policy.h>
#include <mach/thread_act.h>
#endif