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:
@@ -24,8 +24,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#if defined (__APPLE__) || defined (__FreeBSD__) || defined (__NetBSD__)
|
||||||
#include <stdlib.h> /* OSX gets its malloc stuff through here */
|
#include <stdlib.h> /* OSX & BSD's get its malloc stuff through here */
|
||||||
#else
|
#else
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user