Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ikvm-native/jni.c')
-rw-r--r--ikvm-native/jni.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ikvm-native/jni.c b/ikvm-native/jni.c
index 4690feda42c..d634a4adc2a 100644
--- a/ikvm-native/jni.c
+++ b/ikvm-native/jni.c
@@ -29,6 +29,8 @@
#define ALLOCA _alloca
#else
#include <alloca.h>
+/* alloca is in stdlib.h on freebsd */
+#include <stdlib.h>
#define ALLOCA alloca
#endif