# HG changeset patch # User littlee # Date 1331866045 -28800 # Node ID 14f20316b1b8e94f63e9a4068cfdd2b5528f6f0d # Parent 1a48716abaa1913e7eb2c80e6f27f239be0a5c41 7153343: Dependency on non-POSIX header file causes portability problem Summary: Remove the unneccessary link.h Reviewed-by: alanb, chegar Contributed-by: Jonathan Lu diff -r 1a48716abaa1 -r 14f20316b1b8 jdk/src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c --- a/jdk/src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c Thu Mar 15 14:40:53 2012 -0700 +++ b/jdk/src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c Fri Mar 16 10:47:25 2012 +0800 @@ -30,9 +30,6 @@ #include #include -#ifndef __APPLE__ -#include -#endif #ifdef __solaris__ #include diff -r 1a48716abaa1 -r 14f20316b1b8 jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c --- a/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c Thu Mar 15 14:40:53 2012 -0700 +++ b/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c Fri Mar 16 10:47:25 2012 +0800 @@ -26,9 +26,6 @@ #include #include #include -#ifndef __APPLE__ -#include -#endif #include "NativeFunc.h" /* standard GSS method names (ordering is from mapfile) */ diff -r 1a48716abaa1 -r 14f20316b1b8 jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c --- a/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c Thu Mar 15 14:40:53 2012 -0700 +++ b/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c Fri Mar 16 10:47:25 2012 +0800 @@ -28,9 +28,6 @@ #include #include -#ifndef __APPLE__ -#include -#endif #include diff -r 1a48716abaa1 -r 14f20316b1b8 jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c --- a/jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c Thu Mar 15 14:40:53 2012 -0700 +++ b/jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c Fri Mar 16 10:47:25 2012 +0800 @@ -64,9 +64,6 @@ #include #include -#ifndef __APPLE__ -#include -#endif #include diff -r 1a48716abaa1 -r 14f20316b1b8 jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c --- a/jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c Thu Mar 15 14:40:53 2012 -0700 +++ b/jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c Fri Mar 16 10:47:25 2012 +0800 @@ -29,9 +29,6 @@ #include #include -#ifndef __APPLE__ -#include -#endif #include diff -r 1a48716abaa1 -r 14f20316b1b8 jdk/src/solaris/npt/npt_md.h --- a/jdk/src/solaris/npt/npt_md.h Thu Mar 15 14:40:53 2012 -0700 +++ b/jdk/src/solaris/npt/npt_md.h Fri Mar 16 10:47:25 2012 +0800 @@ -32,9 +32,6 @@ #include #include #include -#ifndef __APPLE__ -#include -#endif #include #define NPT_LIBNAME "npt"