aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--blinkenlights/blinkenlights.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/blinkenlights/blinkenlights.c b/blinkenlights/blinkenlights.c
index b88c821..478b284 100644
--- a/blinkenlights/blinkenlights.c
+++ b/blinkenlights/blinkenlights.c
@@ -35,7 +35,9 @@
#include <stdlib.h>
#include <fcntl.h>
#include <sys/stat.h>
+#ifndef MACOSX
#include <malloc.h>
+#endif
#include <ctype.h>
#include <unistd.h>
#include <sys/socket.h>