aboutsummaryrefslogtreecommitdiff
path: root/cooled~
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 /cooled~
parent7f3db32b046615702472e60c1fb38b28b4c93294 (diff)
added #ifdef __APPLE__ around malloc.h to make compile on MacOS X
svn path=/trunk/externals/unauthorized/; revision=1953
Diffstat (limited to 'cooled~')
-rw-r--r--cooled~/cooled~.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cooled~/cooled~.c b/cooled~/cooled~.c
index 1e67ad3..68e2b8e 100644
--- a/cooled~/cooled~.c
+++ b/cooled~/cooled~.c
@@ -36,7 +36,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