about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@redhat.com>2022-06-02 11:00:54 -0400
committerCarlos O'Donell <carlos@redhat.com>2022-06-02 15:20:36 -0400
commit48f4b30780038d618b4d19dc94f68caecf99cf52 (patch)
tree62ab7b79881135eedfc9856077ae6bcea0c7347a /elf
parent62c888b3375f82a659a55ec66b1315efa2ed026a (diff)
downloadglibc-48f4b30780038d618b4d19dc94f68caecf99cf52.tar.gz
glibc-48f4b30780038d618b4d19dc94f68caecf99cf52.tar.xz
glibc-48f4b30780038d618b4d19dc94f68caecf99cf52.zip
elf: Add #include <errno.h> for use of E* constants.
In __strerror_r we use errno constants and must include errno.h.

Tested on x86_64 and i686 without regression.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-minimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
index a6befe12b5..379db134a4 100644
--- a/elf/dl-minimal.c
+++ b/elf/dl-minimal.c
@@ -25,7 +25,7 @@
 #include <dl-minimal-malloc.h>
 #include <stdio.h>
 #include <unistd.h>
-
+#include <errno.h>
 
 /* The rtld startup code calls __rtld_malloc_init_stubs after the
   first self-relocation to adjust the pointers to the minimal