diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-08-14 02:30:50 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2004-08-14 02:30:50 +0000 |
commit | 4c34104a8fb52d339b9f43f9b851e65698998408 (patch) | |
tree | 60731aaf956347df502037afaff818e3e688e139 /sonogram~ | |
parent | 7f3db32b046615702472e60c1fb38b28b4c93294 (diff) |
added #ifdef __APPLE__ around malloc.h to make compile on MacOS X
svn path=/trunk/externals/unauthorized/; revision=1953
Diffstat (limited to 'sonogram~')
-rw-r--r-- | sonogram~/sonogram~.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sonogram~/sonogram~.c b/sonogram~/sonogram~.c index 7a41da7..24a38a9 100644 --- a/sonogram~/sonogram~.c +++ b/sonogram~/sonogram~.c @@ -37,7 +37,13 @@ #include <stdlib.h> #include <fcntl.h> #include <sys/stat.h> + +#ifdef __APPLE__ +#include <sys/malloc.h> +#else #include <malloc.h> +#endif + #include <ctype.h> #include <pthread.h> #ifdef UNIX |