aboutsummaryrefslogtreecommitdiff
path: root/sonogram~/sonogram~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-08-14 02:30:50 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-08-14 02:30:50 +0000
commit4c34104a8fb52d339b9f43f9b851e65698998408 (patch)
tree60731aaf956347df502037afaff818e3e688e139 /sonogram~/sonogram~.c
parent7f3db32b046615702472e60c1fb38b28b4c93294 (diff)
added #ifdef __APPLE__ around malloc.h to make compile on MacOS X
svn path=/trunk/externals/unauthorized/; revision=1953
Diffstat (limited to 'sonogram~/sonogram~.c')
-rw-r--r--sonogram~/sonogram~.c6
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