summary refs log tree commit diff
path: root/elf/dl-deps.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-deps.c')
-rw-r--r--elf/dl-deps.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c
index 5dbef6cabf..2a945479f4 100644
--- a/elf/dl-deps.c
+++ b/elf/dl-deps.c
@@ -17,11 +17,12 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <link.h>
-#include <errno.h>
 #include <dlfcn.h>
+#include <errno.h>
 #include <stdlib.h>
 #include <string.h>
+#include <elf/ldsodefs.h>
+
 #include <assert.h>
 
 /* Whether an shared object references one or more auxiliary objects