projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62c888b
)
elf: Add #include <errno.h> for use of E* constants.
author
Carlos O'Donell
<carlos@redhat.com>
Thu, 2 Jun 2022 15:00:54 +0000
(11:00 -0400)
committer
Carlos O'Donell
<carlos@redhat.com>
Thu, 2 Jun 2022 19:20:36 +0000
(15:20 -0400)
In __strerror_r we use errno constants and must include errno.h.
Tested on x86_64 and i686 without regression.
elf/dl-minimal.c
patch
|
blob
|
history
diff --git
a/elf/dl-minimal.c
b/elf/dl-minimal.c
index a6befe12b58f032fe33cf2b746034df9090fbd80..379db134a48721f7da09e94cfb1f605298720189 100644
(file)
--- 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