mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-21 20:56:19 +00:00
14 lines
535 B
Diff
14 lines
535 B
Diff
https://github.com/termux/termux-packages/issues/16879
|
|
|
|
--- a/Modules/posixmodule.c
|
|
+++ b/Modules/posixmodule.c
|
|
@@ -280,7 +280,7 @@
|
|
# undef HAVE_SCHED_SETAFFINITY
|
|
#endif
|
|
|
|
-#if defined(HAVE_SYS_XATTR_H) && defined(HAVE_LINUX_LIMITS_H) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
|
|
+#if defined(HAVE_SYS_XATTR_H) && defined(HAVE_LINUX_LIMITS_H) && !defined(__FreeBSD_kernel__) && !defined(__GNU__) && !defined(__ANDROID__)
|
|
# define USE_XATTRS
|
|
# include <linux/limits.h> // Needed for XATTR_SIZE_MAX on musl libc.
|
|
#endif
|