提交 18286d15 编写于 作者: L luchsh

7152519: Dependency on non-POSIX header file <link.h> causes portability problem

Reviewed-by: prr, igor
上级 18cad3fc
......@@ -583,9 +583,6 @@ JNIEXPORT jstring JNICALL Java_sun_awt_X11FontManager_getFontPathNative
}
#include <dlfcn.h>
#if !(defined(__linux__) || defined(MACOSX))
#include <link.h>
#endif
#include "fontconfig.h"
......
......@@ -27,9 +27,6 @@
#define OGLFuncs_md_h_Included
#include <stdlib.h>
#ifndef MACOSX
#include <link.h>
#endif
#include "jvm_md.h"
#include "J2D_GL/glx.h"
#include "OGLFuncMacros.h"
......
......@@ -70,7 +70,6 @@ typedef struct _XRadialGradient {
#ifdef __solaris__
/* Solaris 10 will not have these symbols at runtime */
#include <link.h>
typedef Picture (*XRenderCreateLinearGradientFuncType)
(Display *dpy,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册