$OpenBSD: patch-jdk_src_solaris_native_sun_awt_list_c,v 1.1 2008/03/19 18:05:46 kurt Exp $
--- jdk/src/solaris/native/sun/awt/list.c.orig	Tue Dec  4 04:05:29 2007
+++ jdk/src/solaris/native/sun/awt/list.c	Thu Feb 14 17:55:02 2008
@@ -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"
 
 
