about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-cache.c2
-rw-r--r--sysdeps/generic/dl-sysdep.c8
-rw-r--r--sysdeps/generic/libc-start.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/generic/dl-cache.c b/sysdeps/generic/dl-cache.c
index c885c11d37..5aa1ea20f3 100644
--- a/sysdeps/generic/dl-cache.c
+++ b/sysdeps/generic/dl-cache.c
@@ -17,8 +17,8 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <link.h>
 #include <unistd.h>
+#include <elf/ldsodefs.h>
 #include <sys/mman.h>
 
 /* System-dependent function to read a file's whole contents
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 21b470c6ae..8db0c7889f 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -18,15 +18,15 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <elf.h>
-#include <entry.h>
+#include <fcntl.h>
+#include <unistd.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/mman.h>
-#include <fcntl.h>
-#include <link.h>
-#include <unistd.h>
+#include <elf/ldsodefs.h>
 #include <stdio-common/_itoa.h>
 
+#include <entry.h>
 #include <dl-machine.h>
 #include <dl-procinfo.h>
 
diff --git a/sysdeps/generic/libc-start.c b/sysdeps/generic/libc-start.c
index d32e54f162..2e777a84d2 100644
--- a/sysdeps/generic/libc-start.c
+++ b/sysdeps/generic/libc-start.c
@@ -16,9 +16,9 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <link.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <elf/ldsodefs.h>
 
 extern void __libc_init_first (int argc, char **argv, char **envp);