summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-17 12:00:07 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-17 12:02:22 +0200
commita94e4b4aac13cae9dd71a5e7c09ae863b9a7219b (patch)
tree0c316f4b4393f19f4f0ea7ed06fbbeb2fb3100ec
parent22dc528bcebd30bd8a274fca0d7d728e917c7ec2 (diff)
MLKLexicalContext: Declare malloc(3) by including stdlib.h.
-rw-r--r--MLKLexicalContext.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/MLKLexicalContext.m b/MLKLexicalContext.m
index 1eaa51c..2af717b 100644
--- a/MLKLexicalContext.m
+++ b/MLKLexicalContext.m
@@ -37,6 +37,8 @@
#import "runtime-compatibility.h"
#import "util.h"
+#include <stdlib.h>
+
#define MAKE_ENVIRONMENT(variable, parent, parent_member) \
[[MLKEnvironment alloc] \