This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] ldconfig fix


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]