Permalink
Browse files

2006-09-11 Zoltan Varga <vargaz@gmail.com>

	* jni.c: Apply a patch from the freebsd ports tree. Include the proper
	include for alloca ().

svn path=/trunk/mono/; revision=65238
  • Loading branch information...
1 parent 9601558 commit 066927f58f016a727e3e99ff6d0d62c4c01c2fd8 @vargaz vargaz committed Sep 11, 2006
Showing with 7 additions and 1 deletion.
  1. +4 −0 ikvm-native/ChangeLog
  2. +3 −1 ikvm-native/jni.c
View
@@ -1,3 +1,7 @@
+2006-09-11 Zoltan Varga <vargaz@gmail.com>
+
+ * jni.c: Apply a patch from the freebsd ports tree. Include the proper
+ include for alloca ().
Tue Aug 22 17:16:53 CEST 2006 Paolo Molaro <lupus@ximian.com>
View
@@ -28,7 +28,9 @@
#include <malloc.h>
#define ALLOCA _alloca
#else
-#if !defined(__FreeBSD__) && !defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+#include <stdlib.h>
+#else
#include <alloca.h>
#endif
#define ALLOCA alloca

0 comments on commit 066927f

Please sign in to comment.