summaryrefslogtreecommitdiff
path: root/ldso/util/readsoname.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/util/readsoname.c')
-rw-r--r--ldso/util/readsoname.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ldso/util/readsoname.c b/ldso/util/readsoname.c
index 2b3f8353f..12c2428f2 100644
--- a/ldso/util/readsoname.c
+++ b/ldso/util/readsoname.c
@@ -7,8 +7,7 @@
#include <link.h>
#include <unistd.h>
#include <sys/types.h>
-#include "elf.h"
-#include "../config.h"
+#include <ld_elf.h>
#include "readsoname.h"
void warn(char *fmt, ...);
@@ -21,6 +20,9 @@ struct needed_tab
};
struct needed_tab needed_tab[] = {
+ { "libc.so.0", LIB_ELF_LIBC0 },
+ { "libm.so.0", LIB_ELF_LIBC0 },
+ { "libdl.so.0", LIB_ELF_LIBC0 },
{ "libc.so.5", LIB_ELF_LIBC5 },
{ "libm.so.5", LIB_ELF_LIBC5 },
{ "libdl.so.1", LIB_ELF_LIBC5 },