aboutsummaryrefslogtreecommitdiff
path: root/src/threading/thread.cpp
diff options
context:
space:
mode:
authorPavel Puchkin <i@neoascetic.me>2015-08-27 20:51:07 +0200
committerest31 <MTest31@outlook.com>2015-09-06 05:34:02 +0200
commit588f0c1fb03db162c573ac92b13f0de465e3040c (patch)
tree1058be0e83790ed74aee60f9756341554afa0e85 /src/threading/thread.cpp
parent91bf68e1fee1dd82fe1ed1d7aaeb895321260d95 (diff)
downloadminetest-588f0c1fb03db162c573ac92b13f0de465e3040c.tar.gz
minetest-588f0c1fb03db162c573ac92b13f0de465e3040c.tar.bz2
minetest-588f0c1fb03db162c573ac92b13f0de465e3040c.zip
Fix building on OSX, broken since "Clean up threading"
Commit e4bff8be94c0db4f94e63ad448d0eeb869ccdbbd - Clean up threading by @ShadowNinja has broken the OSX build. Including things inside a namespace isn't good. Also fixes #3124.
Diffstat (limited to 'src/threading/thread.cpp')
-rw-r--r--src/threading/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading/thread.cpp b/src/threading/thread.cpp
index a1cb720af..73a951194 100644
--- a/src/threading/thread.cpp
+++ b/src/threading/thread.cpp
@@ -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