summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)