7159041: Fix for 7152519 causing build breakage.
authorprr
Thu, 05 Apr 2012 15:14:06 -0700
changeset 12391 dd686d9acbf2
parent 12390 b77511960916
child 12392 af6c2083c5d7
7159041: Fix for 7152519 causing build breakage. Reviewed-by: igor, jgodinez
jdk/src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h
--- a/jdk/src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h	Fri Mar 30 10:18:04 2012 -0700
+++ b/jdk/src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h	Thu Apr 05 15:14:06 2012 -0700
@@ -27,6 +27,9 @@
 #define OGLFuncs_md_h_Included
 
 #include <stdlib.h>
+#ifndef MACOSX
+#include <dlfcn.h>
+#endif
 #include "jvm_md.h"
 #include "J2D_GL/glx.h"
 #include "OGLFuncMacros.h"