aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-24 19:56:19 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-24 19:56:19 +0000
commitaf8bf6bd492830cfa5fbe9ae7d25fe0734ca207a (patch)
treeb342b776a7eef64d8451b4863755a0417de9aebd
parentc35eb5b0c9e6af4c209fd42550413c2612059eb6 (diff)
downloadglibc-af8bf6bd492830cfa5fbe9ae7d25fe0734ca207a.tar
glibc-af8bf6bd492830cfa5fbe9ae7d25fe0734ca207a.tar.gz
glibc-af8bf6bd492830cfa5fbe9ae7d25fe0734ca207a.tar.bz2
glibc-af8bf6bd492830cfa5fbe9ae7d25fe0734ca207a.zip
Update.
* elf/rtld.c: Include <sys/param.h>. * elf/dl-reloc.c: Likewise.
-rw-r--r--ChangeLog2
-rw-r--r--elf/dl-reloc.c1
-rw-r--r--elf/rtld.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7fad9f80b3..b34092eeba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
* elf/do-rel.h (elf_dynamic_do_rel): Fix problem with ld.so
startup. Explicitly remove lazy part for RTLD_BOOTSTRAP since gcc
doesn't do it.
+ * elf/rtld.c: Include <sys/param.h>.
+ * elf/dl-reloc.c: Likewise.
2001-08-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c
index b46d3bcf47..99cb18962d 100644
--- a/elf/dl-reloc.c
+++ b/elf/dl-reloc.c
@@ -23,6 +23,7 @@
#include <unistd.h>
#include <ldsodefs.h>
#include <sys/mman.h>
+#include <sys/param.h>
#include <sys/types.h>
#include "dynamic-link.h"
diff --git a/elf/rtld.c b/elf/rtld.c
index 1df74df662..c46f2d1a13 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -22,6 +22,7 @@
#include <string.h>
#include <unistd.h>
#include <sys/mman.h> /* Check if MAP_ANON is defined. */
+#include <sys/param.h>
#include <sys/stat.h>
#include <ldsodefs.h>
#include <stdio-common/_itoa.h>