summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/link.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h
index b69dcda5b..78726852b 100644
--- a/include/link.h
+++ b/include/link.h
@@ -23,7 +23,9 @@
#include <features.h>
#include <elf.h>
+#ifndef __HAVE_NO_SHARED__
#include <dlfcn.h>
+#endif
#include <sys/types.h>
#if defined _LIBC && defined __UCLIBC_HAS_THREADS_NATIVE__
#include <tls.h>