summary refs log tree commit diff
path: root/elf/rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index b160522c0c..13643d1e66 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -18,17 +18,16 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fcntl.h>
-#include <link.h>
-#include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <sys/mman.h>		/* Check if MAP_ANON is defined.  */
+#include <elf/ldsodefs.h>
 #include <stdio-common/_itoa.h>
-#include <assert.h>
 #include <entry.h>
 #include "dynamic-link.h"
 
+#include <assert.h>
 
 /* System-specific function to do initial startup for the dynamic linker.
    After this, file access calls and getenv must work.  This is responsible