Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-12-04 11:55:17 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2014-12-04 11:55:17 +0300
commit3c1d286ca5e059550b7b72feeb466d844ed1dc80 (patch)
tree0173741e5cb50193f1ea87030d9cbb85047c0341
parent409043c69dc456fc79f98cc2005ae1b08f6c1719 (diff)
Fix building on OSX when OMP is enabled.
Reported by sebastian_k over IRC, thanks!
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
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)
{