aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexanderKhilo <khilo.alexander@gmail.com>2013-12-28 02:13:34 +0200
committerAlexanderKhilo <khilo.alexander@gmail.com>2013-12-28 02:13:34 +0200
commit70c95af4b5496209fdacc7434c12d79bacd9d3e0 (patch)
treee054e31ed6b89d48def1ccb474452bb4dfc8b219 /src
parent95c696cffe7bf16e27d6d766750c96a38dd23b32 (diff)
downloadlanes-70c95af4b5496209fdacc7434c12d79bacd9d3e0.tar.gz
lanes-70c95af4b5496209fdacc7434c12d79bacd9d3e0.tar.bz2
lanes-70c95af4b5496209fdacc7434c12d79bacd9d3e0.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/tools.c2
1 files changed, 2 insertions, 0 deletions
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.
42#include <string.h> 42#include <string.h>
43#include <ctype.h> 43#include <ctype.h>
44#include <stdlib.h> 44#include <stdlib.h>
45#if !defined(__APPLE__)
45#include <malloc.h> 46#include <malloc.h>
47#endif
46 48
47/* 49/*
48 * ############################################################################################### 50 * ###############################################################################################