diff options
Diffstat (limited to 'sonogram~')
-rw-r--r-- | sonogram~/sonogram~.c | 6 |
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 |