Author: zoltan
Date: 2006-09-11 11:57:48 -0400 (Mon, 11 Sep 2006)
New Revision: 65238

Modified:
   trunk/mono/ikvm-native/ChangeLog
   trunk/mono/ikvm-native/jni.c
Log:
2006-09-11  Zoltan Varga  <[EMAIL PROTECTED]>

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


Modified: trunk/mono/ikvm-native/ChangeLog
===================================================================
--- trunk/mono/ikvm-native/ChangeLog    2006-09-11 15:29:57 UTC (rev 65237)
+++ trunk/mono/ikvm-native/ChangeLog    2006-09-11 15:57:48 UTC (rev 65238)
@@ -1,4 +1,8 @@
+2006-09-11  Zoltan Varga  <[EMAIL PROTECTED]>
 
+       * 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 <[EMAIL PROTECTED]>
 
        * Makefile.am: link to libgmodule (patch by Alexander Larsson

Modified: trunk/mono/ikvm-native/jni.c
===================================================================
--- trunk/mono/ikvm-native/jni.c        2006-09-11 15:29:57 UTC (rev 65237)
+++ trunk/mono/ikvm-native/jni.c        2006-09-11 15:57:48 UTC (rev 65238)
@@ -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

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to