diff options
Diffstat (limited to 'lib/replace/xattr.c')
-rw-r--r-- | lib/replace/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/xattr.c b/lib/replace/xattr.c index 07c130f9f8..8e1c989a3d 100644 --- a/lib/replace/xattr.c +++ b/lib/replace/xattr.c @@ -252,7 +252,7 @@ static ssize_t bsd_attr_list (int type, extattr_arg arg, char *list, size_t size #endif -#if defined(HAVE_ATTR_LIST) && defined(HAVE_SYS_ATTRIBUTES_H) +#if defined(HAVE_ATTR_LIST) && (defined(HAVE_SYS_ATTRIBUTES_H) || defined(HAVE_ATTR_ATTRIBUTES_H)) static char attr_buffer[ATTR_MAX_VALUELEN]; static ssize_t irix_attr_list(const char *path, int filedes, char *list, size_t size, int flags) |