[PATCH] ldconfig fix
Jakub Jelinek
jakub@redhat.com
Tue May 9 08:03:00 GMT 2000
Hi!
dl-procinfo.h expects elf.h to be included (previously it was only included
in dl-sysdep.c which did that).
The solution can be either to edit all relevant dl-procinfo.h headers to
include <elf.h>, or include it in ldconfig.
Without either build fails on sparc32 and sparc64.
2000-05-09 Jakub Jelinek <jakub@redhat.com>
* elf/ldconfig.c: Include elf.h.
--- libc/elf/ldconfig.c.jj Mon May 8 08:22:14 2000
+++ libc/elf/ldconfig.c Tue May 9 16:52:19 2000
@@ -19,6 +19,7 @@
#include <argp.h>
#include <dirent.h>
+#include <elf.h>
#include <error.h>
#include <errno.h>
#include <libintl.h>
Jakub
More information about the Libc-hacker
mailing list