blob: d784281083af103310bc6050e75239270fbafa30 (
plain) (
tree)
|
|
diff -ur a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c 2022-01-11 11:45:55.120000000 +0000
+++ b/Modules/posixmodule.c 2022-01-11 11:47:28.010000000 +0000
@@ -247,8 +247,9 @@
# undef HAVE_SCHED_SETAFFINITY
#endif
-#if defined(HAVE_SYS_XATTR_H) && defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
+#if defined(HAVE_SYS_XATTR_H) && defined(__linux__) && !defined(__FreeBSD_kernel__) && !defined(__GNU__)
# define USE_XATTRS
+#include <linux/limits.h>
#endif
#ifdef USE_XATTRS
|