aboutsummaryrefslogtreecommitdiff
path: root/sonogram~
diff options
context:
space:
mode:
Diffstat (limited to 'sonogram~')
-rw-r--r--sonogram~/sonogram~.c4
1 files changed, 4 insertions, 0 deletions
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