提交 425b5d38 编写于 作者: L littlee

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

Summary: Remove the unneccessary link.h
Reviewed-by: alanb, chegar
Contributed-by: NJonathan Lu <luchsh@linux.vnet.ibm.com>
上级 bebc45cc
......@@ -30,9 +30,6 @@
#include <stdlib.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#ifdef __solaris__
#include <strings.h>
......
......@@ -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) */
......
......@@ -28,9 +28,6 @@
#include <string.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#include <jni_util.h>
......
......@@ -64,9 +64,6 @@
#include <assert.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#include <jni.h>
......
......@@ -29,9 +29,6 @@
#include <assert.h>
#include <dlfcn.h>
#ifndef __APPLE__
#include <link.h>
#endif
#include <winscard.h>
......
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册