$OpenBSD: patch-j2se_src_solaris_native_sun_awt_list_c,v 1.1 2007/09/06 15:46:19 kurt Exp $
--- j2se/src/solaris/native/sun/awt/list.c.orig	Thu Jul  5 05:03:41 2007
+++ j2se/src/solaris/native/sun/awt/list.c	Fri Jul 27 18:25:14 2007
@@ -66,7 +66,11 @@ from the X Consortium.
   ----------------------------------------------------------------------- **/
 
 #include <stdio.h>
+#ifdef _ALLBSD_SOURCE
+#include <stdlib.h>
+#else
 #include <malloc.h>
+#endif
 #include "list.h"
 
 
