From ba60324d22cfcddf797a91b7a74619255ded92c2 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Mon, 11 Apr 2005 14:14:47 +0000 Subject: 2005-04-11 Zoltan Varga * jni.c: Applied some freebsd patches from Bill Middleton . svn path=/trunk/mono/; revision=42788 --- ikvm-native/ChangeLog | 4 ++++ ikvm-native/jni.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'ikvm-native') diff --git a/ikvm-native/ChangeLog b/ikvm-native/ChangeLog index b5a9ad00872..db5bb23fad6 100644 --- a/ikvm-native/ChangeLog +++ b/ikvm-native/ChangeLog @@ -1,3 +1,7 @@ +2005-04-11 Zoltan Varga + + * jni.c: Applied some freebsd patches from Bill Middleton . + 2005-04-05 Zoltan Varga * jni.c: Apply patch from freebsd ports tree. diff --git a/ikvm-native/jni.c b/ikvm-native/jni.c index d634a4adc2a..64f93d7cff4 100644 --- a/ikvm-native/jni.c +++ b/ikvm-native/jni.c @@ -28,9 +28,9 @@ #include #define ALLOCA _alloca #else +#if !defined(__FreeBSD__) && !defined(__NetBSD__) #include -/* alloca is in stdlib.h on freebsd */ -#include +#endif #define ALLOCA alloca #endif -- cgit v1.2.3