aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-reloc.c1
-rw-r--r--elf/rtld.c1
2 files changed, 2 insertions, 0 deletions
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>