link.h causes problems on some platforms and is not needed on solaris, where

the comment came from.

llvm-svn: 14905
This commit is contained in:
Chris Lattner 2004-07-17 03:09:12 +00:00
parent 720ae1e5b3
commit d853be2cff

View File

@ -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 <dlfcn.h>
#ifdef HAVE_LINK_H
#include <link.h>
#endif
#endif
#endif