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.
This commit is contained in:
Guillermo S. Romero 2011-02-17 21:14:54 +00:00
parent 22dbae84e5
commit 456ca98564

@ -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"