aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-01 00:27:57 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-01 00:27:57 +0000
commit20232c47daec8026de90d8afb58d838750a96d18 (patch)
treefa62070127f1296273dc617f72bfab3ed0a460b7
parent2005cba607270a0e176d739361cb6327fab061f7 (diff)
put #ifdef __APPLE__ back in so things compile on Mac OS X
svn path=/trunk/externals/unauthorized/; revision=5444
-rw-r--r--scratcher~/scratcher~.c4
-rw-r--r--sonogram~/sonogram~.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/scratcher~/scratcher~.c b/scratcher~/scratcher~.c
index d5a950e..32e8e46 100644
--- a/scratcher~/scratcher~.c
+++ b/scratcher~/scratcher~.c
@@ -37,7 +37,11 @@
#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>
diff --git a/sonogram~/sonogram~.c b/sonogram~/sonogram~.c
index b43405a..e6c3887 100644
--- a/sonogram~/sonogram~.c
+++ b/sonogram~/sonogram~.c
@@ -37,7 +37,11 @@
#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