diff options
author | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2011-02-18 00:14:54 +0300 |
---|---|---|
committer | Guillermo S. Romero <gsr.b3d@infernal-iceberg.com> | 2011-02-18 00:14:54 +0300 |
commit | 456ca98564555bb072e0e72b64f790e4b8c6ceec (patch) | |
tree | 262921dee27d17190f836644abdfce15827e8d11 /intern | |
parent | 22dbae84e5ed0fa836f5f84faaeb51a7ec585c64 (diff) |
malloc() comes from stdlib.h per K&R ANSI C, C89 & C99.
If some plataform really needs malloc.h, that is the exception to get #ifdef.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/mikktspace/mikktspace.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/intern/mikktspace/mikktspace.c b/intern/mikktspace/mikktspace.c index 71eae902667..744f9000f10 100644 --- a/intern/mikktspace/mikktspace.c +++ b/intern/mikktspace/mikktspace.c @@ -23,12 +23,7 @@ #include <math.h> #include <string.h> #include <float.h> - -#if defined (__APPLE__) || defined (__FreeBSD__) || defined (__NetBSD__) -#include <stdlib.h> /* OSX & BSD's get its malloc stuff through here */ -#else -#include <malloc.h> -#endif +#include <stdlib.h> #include "mikktspace.h" |