summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-06 17:25:59 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-06 17:25:59 +0200
commit29bd27cead6ce2721cbf2501a96d050ad1ffaad0 (patch)
tree89470a7d61ff6edbf9985df75a4190399c50dece
parentd6851c5e380e025b6e55dff661b8c83ffbabd34d (diff)
Include alloca.h where appropriate.
-rw-r--r--MLKForeignProcedure.m1
-rw-r--r--MLKRoot.m2
-rw-r--r--functions.m3
3 files changed, 5 insertions, 1 deletions
diff --git a/MLKForeignProcedure.m b/MLKForeignProcedure.m
index fa889cb..c9cd5d6 100644
--- a/MLKForeignProcedure.m
+++ b/MLKForeignProcedure.m
@@ -30,6 +30,7 @@
#endif
#include <stdlib.h>
+#include <alloca.h>
@implementation MLKForeignProcedure
diff --git a/MLKRoot.m b/MLKRoot.m
index 06dab3e..80ba4ab 100644
--- a/MLKRoot.m
+++ b/MLKRoot.m
@@ -42,6 +42,8 @@
#import <Foundation/NSStream.h>
#import <Foundation/NSString.h>
+#include <alloca.h>
+
static NSMethodSignature *signature;
static MLKPackage *sys;
diff --git a/functions.m b/functions.m
index 1c46c75..d74b1fa 100644
--- a/functions.m
+++ b/functions.m
@@ -26,7 +26,8 @@
#import <Foundation/NSException.h>
#import <Foundation/NSString.h>
-#import <string.h>
+#include <string.h>
+#include <alloca.h>
NSString *MLKPrintToString (id object)