changeset 5289:aa04907cb729

7159041: Fix for 7152519 causing build breakage. Reviewed-by: igor, jgodinez
author prr
date Thu, 05 Apr 2012 15:14:06 -0700
parents f8acc3222383
children 257dee3bea4e
files src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/sun/java2d/opengl/OGLFuncs_md.h	Thu Mar 22 12:47:39 2012 +0800
+++ b/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"