15 lines
262 B
Diff
15 lines
262 B
Diff
|
https://github.com/termux/termux-packages/issues/15852
|
||
|
|
||
|
--- a/lib/strerror_r.c
|
||
|
+++ b/lib/strerror_r.c
|
||
|
@@ -23,6 +23,9 @@
|
||
|
#define _NETBSD_SOURCE 1
|
||
|
|
||
|
/* Specification. */
|
||
|
+#ifdef __ANDROID__
|
||
|
+#undef _GNU_SOURCE
|
||
|
+#endif
|
||
|
#include <string.h>
|
||
|
|
||
|
#include <errno.h>
|