0b32e6b
--- proftpd-1.3.6/tests/api/fsio.c
0b32e6b
+++ proftpd-1.3.6/tests/api/fsio.c
0b32e6b
@@ -26,6 +26,12 @@
0b32e6b
 
0b32e6b
 #include "tests.h"
0b32e6b
 
0b32e6b
+#ifdef PR_USE_XATTR
0b32e6b
+#ifndef ENOATTR
0b32e6b
+# define ENOATTR ENODATA
0b32e6b
+#endif
0b32e6b
+#endif
0b32e6b
+
0b32e6b
 static pool *p = NULL;
0b32e6b
 
0b32e6b
 static char *fsio_cwd = NULL;