changeset 5231:9383a3749940

7159041: Fix for 7152519 causing build breakage. Reviewed-by: igor, jgodinez
author prr
date Thu, 05 Apr 2012 15:14:06 -0700
parents 6f9e3ac30764
children a8773780c583
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	Fri Mar 30 10:18:04 2012 -0700
+++ 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"