aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>