aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/Config/dlfcn.h9
-rw-r--r--include/llvm/Config/dlfcn.h9
2 files changed, 0 insertions, 18 deletions
diff --git a/include/Config/dlfcn.h b/include/Config/dlfcn.h
index 454ede8570..c7ce5b1968 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 <dlfcn.h>
-
-#ifdef HAVE_LINK_H
-#include <link.h>
-#endif
-
#endif
#endif
diff --git a/include/llvm/Config/dlfcn.h b/include/llvm/Config/dlfcn.h
index 454ede8570..c7ce5b1968 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 <dlfcn.h>
-
-#ifdef HAVE_LINK_H
-#include <link.h>
-#endif
-
#endif
#endif