From 70c95af4b5496209fdacc7434c12d79bacd9d3e0 Mon Sep 17 00:00:00 2001
From: AlexanderKhilo <khilo.alexander@gmail.com>
Date: Sat, 28 Dec 2013 02:13:34 +0200
Subject: Update tools.c

Actually, you shouldn't need malloc.h at all, it's obsolete; including stdlib.h should take care of what malloc.h used to handle.
---
 src/tools.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

diff --git a/src/tools.c b/src/tools.c
index e743393..60f9012 100644
--- a/src/tools.c
+++ b/src/tools.c
@@ -42,7 +42,9 @@ THE SOFTWARE.
 #include <string.h>
 #include <ctype.h>
 #include <stdlib.h>
+#if !defined(__APPLE__)
 #include <malloc.h>
+#endif
 
 /*
  * ###############################################################################################
-- 
cgit v1.2.3-55-g6feb