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

Reviewed-by: prr, igor
This commit is contained in:
Jonathan Lu 2012-03-22 12:47:39 +08:00
parent 733b1d638e
commit 650337cafa
3 changed files with 0 additions and 7 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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,