link.h causes problems on some platforms and is not needed on solaris, where
authorChris Lattner <sabre@nondot.org>
Sat, 17 Jul 2004 03:09:12 +0000 (03:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 17 Jul 2004 03:09:12 +0000 (03:09 +0000)
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
include/llvm/Config/dlfcn.h

index 454ede8570883e00d184a7d40591d91d6d16fa56..c7ce5b19688cd2a81c89dcfbf659c5581cfe69db 100644 (file)
 
 #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 <dlfcn.h>
-
-#ifdef HAVE_LINK_H
-#include <link.h>
-#endif
-
 #endif
 
 #endif
index 454ede8570883e00d184a7d40591d91d6d16fa56..c7ce5b19688cd2a81c89dcfbf659c5581cfe69db 100644 (file)
 
 #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 <dlfcn.h>
-
-#ifdef HAVE_LINK_H
-#include <link.h>
-#endif
-
 #endif
 
 #endif