about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-11-09 22:55:13 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-11-09 23:21:22 -0300
commit824dd3ec4922fbb9a34c62f4829e7817cc60e29a (patch)
treed74d42dc69159b32093039cd11335b9429907d05 /elf
parentb05fae4d8e34604a72ee36d2d3164391b76fcf0b (diff)
downloadglibc-824dd3ec4922fbb9a34c62f4829e7817cc60e29a.tar.gz
glibc-824dd3ec4922fbb9a34c62f4829e7817cc60e29a.tar.xz
glibc-824dd3ec4922fbb9a34c62f4829e7817cc60e29a.zip
Fix build a chec failures after b05fae4d8e34
The include cleanup on dl-minimal.c removed too much for some
targets.

Also for Hurd, __sbrk is removed from localplt.data now that
tunables allocated memory through mmap.

Checked with a build for all affected architectures.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-minimal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
index 152192d451..04ac1557e8 100644
--- a/elf/dl-minimal.c
+++ b/elf/dl-minimal.c
@@ -23,6 +23,8 @@
 #include <dl-sym-post.h>
 #include <_itoa.h>
 #include <dl-minimal-malloc.h>
+#include <stdio.h>
+#include <unistd.h>
 
 
 /* The rtld startup code calls __rtld_malloc_init_stubs after the