$OpenBSD: patch-ikvm-native_jni_c,v 1.1.1.1 2008/10/15 13:34:10 robert Exp $
--- ikvm-native/jni.c.orig	Tue Oct  7 17:05:03 2008
+++ ikvm-native/jni.c	Tue Oct  7 17:05:17 2008
@@ -28,7 +28,7 @@
 #include <malloc.h>
 #define ALLOCA _alloca
 #else
-#if defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
 #include <stdlib.h>
 #else
 #include <alloca.h>
