diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-04 11:55:17 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-12-04 11:55:17 +0300 |
commit | 3c1d286ca5e059550b7b72feeb466d844ed1dc80 (patch) | |
tree | 0173741e5cb50193f1ea87030d9cbb85047c0341 /source/blender/editors/sculpt_paint/sculpt.c | |
parent | 409043c69dc456fc79f98cc2005ae1b08f6c1719 (diff) |
Fix building on OSX when OMP is enabled.
Reported by sebastian_k over IRC, thanks!
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index d2698e08d9a..6df5c146b49 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -103,6 +103,8 @@ #if defined(__APPLE__) && defined _OPENMP #include <sys/sysctl.h> +#include "BLI_threads.h" + /* Query how many cores not counting HT aka physical cores we've got. */ static int system_physical_thread_count(void) { |