diff options
Diffstat (limited to 'lib/libc/string/strerror.c')
| -rw-r--r-- | lib/libc/string/strerror.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/string/strerror.c b/lib/libc/string/strerror.c index c091ac79..e7800d08 100644 --- a/lib/libc/string/strerror.c +++ b/lib/libc/string/strerror.c @@ -1,7 +1,10 @@ -#include <libc.h> -#include <errno.h> -#include <string.h> -#include <locale.h> +#include "__stdio.h" // for size_t +#include "features.h" // for __weak + +#include <errno.h> // for ERANGE, E2BIG, EACCES, EADDRINUSE, EADDRNOTAVAIL +#include <libc.h> // for __unused +#include <locale.h> // for locale_t +#include <string.h> // for memcpy, strerror, strlen, strerror_l, strerror_r char *strerror(int errnum) { |
