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:
-rw-r--r--intern/mikktspace/mikktspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/mikktspace/mikktspace.c b/intern/mikktspace/mikktspace.c
index 3c03dfccf0d..71eae902667 100644
--- a/intern/mikktspace/mikktspace.c
+++ b/intern/mikktspace/mikktspace.c
@@ -24,8 +24,8 @@
#include <string.h>
#include <float.h>
-#ifdef __APPLE__
-#include <stdlib.h> /* OSX gets its malloc stuff through here */
+#if defined (__APPLE__) || defined (__FreeBSD__) || defined (__NetBSD__)
+#include <stdlib.h> /* OSX & BSD's get its malloc stuff through here */
#else
#include <malloc.h>
#endif