Fix OSX compilation problem with malloc.h in itasc
[blender.git] / intern / itasc / Armature.cpp
index 2491b0f8c9f47b38366bb16a0076b335290f43d2..6ae60089cd822c2285df2ccd90c7a0bf77cc4f1c 100644 (file)
@@ -7,8 +7,10 @@
 
 #include "Armature.hpp"
 #include <algorithm>
-#include <malloc.h>
 #include <string.h>
+#ifndef __STDC__
+#include <malloc.h>
+#endif
 
 namespace iTaSC {