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

Remove the unneccessary link.h

Reviewed-by: alanb, chegar
This commit is contained in:
Jonathan Lu 2012-03-16 10:47:25 +08:00 committed by Charles Lee
parent c6974571dd
commit 005f647e13
6 changed files with 0 additions and 18 deletions

View File

@ -30,9 +30,6 @@
#include <stdlib.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#ifdef __solaris__
#include <strings.h>

View File

@ -26,9 +26,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#include "NativeFunc.h"
/* standard GSS method names (ordering is from mapfile) */

View File

@ -28,9 +28,6 @@
#include <string.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#include <jni_util.h>

View File

@ -64,9 +64,6 @@
#include <assert.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#include <jni.h>

View File

@ -29,9 +29,6 @@
#include <assert.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#include <winscard.h>

View File

@ -32,9 +32,6 @@
#include <string.h>
#include <errno.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#include <jvm_md.h>
#define NPT_LIBNAME "npt"