From b5cd18739a64c8d923a55b61c89ae3900faafd84 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 21:17:12 +0100 Subject: Fix include paths and formatting inconsistencies --- lib/libc/string/strerror.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'lib/libc/string/strerror.c') 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 -#include -#include -#include +#include "__stdio.h" // for size_t +#include "features.h" // for __weak + +#include // for ERANGE, E2BIG, EACCES, EADDRINUSE, EADDRNOTAVAIL +#include // for __unused +#include // for locale_t +#include // for memcpy, strerror, strlen, strerror_l, strerror_r char *strerror(int errnum) { -- cgit v1.2.3