* jni.c: Applied some freebsd patches from Bill Middleton <flashdict@gmail.com>.
svn path=/trunk/mono/; revision=42788
+2005-04-11 Zoltan Varga <vargaz@freemail.hu>
+
+ * jni.c: Applied some freebsd patches from Bill Middleton <flashdict@gmail.com>.
+
2005-04-05 Zoltan Varga <vargaz@freemail.hu>
* jni.c: Apply patch from freebsd ports tree.
#include <malloc.h>
#define ALLOCA _alloca
#else
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
#include <alloca.h>
-/* alloca is in stdlib.h on freebsd */
-#include <stdlib.h>
+#endif
#define ALLOCA alloca
#endif