about summary refs log tree commit diff
path: root/elf/dl-minimal.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-minimal.c')
-rw-r--r--elf/dl-minimal.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
index daf623318d..6592ca0baf 100644
--- a/elf/dl-minimal.c
+++ b/elf/dl-minimal.c
@@ -17,14 +17,15 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <errno.h>
+#include <string.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/mman.h>
-#include <unistd.h>
-#include <assert.h>
-#include <string.h>
-#include <link.h>
+#include <elf/ldsodefs.h>
 #include <stdio-common/_itoa.h>
-#include <errno.h>
+
+#include <assert.h>
 
 /* Minimal `malloc' allocator for use while loading shared libraries.
    No block is ever freed.  */