aboutsummaryrefslogtreecommitdiff
path: root/scratcher~
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-19 00:17:37 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-04-19 00:17:37 +0000
commit04a2f994c099d12f32ab61e7cee41b5c6089cdee (patch)
treeb09ad080a3ad47fc44a472c1a536e8ca2f4db5b8 /scratcher~
parent698a567c206b24a82a9f168f48139b76ddaae44e (diff)
updated to build on a plain MacOSX setup
svn path=/trunk/externals/unauthorized/; revision=2783
Diffstat (limited to 'scratcher~')
-rw-r--r--scratcher~/scratcher~.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/scratcher~/scratcher~.c b/scratcher~/scratcher~.c
index 129579f..4448389 100644
--- a/scratcher~/scratcher~.c
+++ b/scratcher~/scratcher~.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>
#include <time.h>