forked from bartvdbraak/blender
apply fix [#26117] Recent changes to "mikktspace.c" broke building on FreeBSD. Patch attached.
also check for NetBSD. note: we probably should use define HAVE_MALLOC_H, seems common for other projects.
This commit is contained in:
parent
fb496b6bad
commit
538d9180d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user