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.
This commit is contained in:
Carlos O'Donell 2022-06-02 11:00:54 -04:00
parent 62c888b337
commit 48f4b30780

View File

@ -25,7 +25,7 @@
#include <dl-minimal-malloc.h> #include <dl-minimal-malloc.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h>
/* The rtld startup code calls __rtld_malloc_init_stubs after the /* The rtld startup code calls __rtld_malloc_init_stubs after the
first self-relocation to adjust the pointers to the minimal first self-relocation to adjust the pointers to the minimal