0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-22 22:47:51 +00:00
termux-packages/packages/gcal/lib-strerror_r.c.patch
2023-04-11 17:05:50 +09:00

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>