From bc10c3b6c323e78ca470f25c48f62f4d0b0a35fb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 17 Jul 2004 03:09:12 +0000 Subject: [PATCH] link.h causes problems on some platforms and is not needed on solaris, where the comment came from. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14905 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Config/dlfcn.h | 9 --------- include/llvm/Config/dlfcn.h | 9 --------- 2 files changed, 18 deletions(-) diff --git a/include/Config/dlfcn.h b/include/Config/dlfcn.h index 454ede85708..c7ce5b19688 100644 --- a/include/Config/dlfcn.h +++ b/include/Config/dlfcn.h @@ -16,17 +16,8 @@ #include "Config/config.h" -/* - * According to the man pages on dlopen(), we sometimes need link.h. So, - * go grab it just in case. - */ #ifdef HAVE_DLFCN_H #include - -#ifdef HAVE_LINK_H -#include -#endif - #endif #endif diff --git a/include/llvm/Config/dlfcn.h b/include/llvm/Config/dlfcn.h index 454ede85708..c7ce5b19688 100644 --- a/include/llvm/Config/dlfcn.h +++ b/include/llvm/Config/dlfcn.h @@ -16,17 +16,8 @@ #include "Config/config.h" -/* - * According to the man pages on dlopen(), we sometimes need link.h. So, - * go grab it just in case. - */ #ifdef HAVE_DLFCN_H #include - -#ifdef HAVE_LINK_H -#include -#endif - #endif #endif