$OpenBSD: patch-j2se_src_solaris_native_java_io_canonicalize_md_c,v 1.1 2007/09/06 15:46:19 kurt Exp $
--- j2se/src/solaris/native/java/io/canonicalize_md.c.orig	Thu Jul  5 05:03:38 2007
+++ j2se/src/solaris/native/java/io/canonicalize_md.c	Fri Jul 27 18:25:14 2007
@@ -33,7 +33,9 @@
 #include <sys/stat.h>
 #include <errno.h>
 #include <limits.h>
+#if !defined(_ALLBSD_SOURCE)
 #include <alloca.h>
+#endif
 
 
 /* Note: The comments in this file use the terminology
