summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--elf/ldconfig.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 14bf6c66de..fcc434691d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-05-09  Jakub Jelinek  <jakub@redhat.com>
 
+	* elf/ldconfig.c: Include elf.h.
+
 	* elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
 	(_dl_vsym): Likewise.
 	Reported by Owen Taylor <otaylor@redhat.com>.
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
index ff96682c79..4ee9763c79 100644
--- a/elf/ldconfig.c
+++ b/elf/ldconfig.c
@@ -19,6 +19,7 @@
 
 #include <argp.h>
 #include <dirent.h>
+#include <elf.h>
 #include <error.h>
 #include <errno.h>
 #include <libintl.h>