mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-11 21:23:11 +00:00
11 lines
266 B
Diff
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;
|