0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-11 21:23:11 +00:00
Files
termux-packages/packages/kbd/src-libkbdfile-kdbfile.c.patch
2025-03-11 14:01:33 +02:00

11 lines
266 B
Diff

+++ ./src/libkbdfile/kbdfile.c
@@ -107,7 +107,7 @@
{
*buf = '\0';
-#if defined(__GLIBC__) && defined(_GNU_SOURCE)
+#if (defined(__GLIBC__) || defined(__ANDROID__)) && defined(_GNU_SOURCE)
return strerror_r(errnum, buf, buflen);
#else
int sv_errno = errno;