This commit is contained in:
2025-06-16 11:40:21 +02:00
parent 6dab8b2f18
commit fd4655d957
5 changed files with 521 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/internal.c.orig 2018-08-10 20:17:35 UTC
+++ src/internal.c
@@ -431,7 +431,7 @@ const char *xstrerror(int errnum, char *buf, size_t le
const char *xstrerror(int errnum, char *buf, size_t len) {
#ifdef HAVE_STRERROR_R
-# ifdef __USE_GNU
+# if defined(__USE_GNU) && defined(__GLIBC__)
/* Annoying linux specific API contract */
return strerror_r(errnum, buf, len);
# else