$OpenBSD: patch-jdk_src_share_native_sun_java2d_opengl_OGLFuncs_h,v 1.1 2008/03/19 18:05:46 kurt Exp $
--- jdk/src/share/native/sun/java2d/opengl/OGLFuncs.h.orig	Tue Oct 30 05:03:54 2007
+++ jdk/src/share/native/sun/java2d/opengl/OGLFuncs.h	Wed Nov  7 18:16:19 2007
@@ -26,6 +26,9 @@
 #ifndef OGLFuncs_h_Included
 #define OGLFuncs_h_Included
 
+#ifdef _ALLBSD_SOURCE
+#include <dlfcn.h>
+#endif
 #include "jni.h"
 #include "J2D_GL/gl.h"
 #include "J2D_GL/glext.h"
