7152519: Dependency on non-POSIX header file <link.h> causes portability problem
Reviewed-by: prr, igor
This commit is contained in:
parent
733b1d638e
commit
650337cafa
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user