summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/include/dl-elf.h1
-rw-r--r--ldso/include/ldso.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/ldso/include/dl-elf.h b/ldso/include/dl-elf.h
index 38b16a229..4cc9b2b29 100644
--- a/ldso/include/dl-elf.h
+++ b/ldso/include/dl-elf.h
@@ -14,6 +14,7 @@
#include <elf.h>
#include <link.h>
#include <dl-defs.h>
+#include <dlfcn.h>
/* Forward declarations for stuff defined in dl-hash.h */
struct dyn_elf;
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h
index f5bb6e077..e0671f74a 100644
--- a/ldso/include/ldso.h
+++ b/ldso/include/ldso.h
@@ -42,7 +42,6 @@
#ifndef __ARCH_HAS_NO_SHARED__
#include <dl-syscall.h>
#include <dl-string.h>
-#include <dlfcn.h>
/* Now the ldso specific headers */
#include <dl-elf.h>
#ifdef __UCLIBC_HAS_TLS__