diff options
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | include/xattr.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index b966d0e..dd29f97 100644 --- a/configure.in +++ b/configure.in @@ -45,4 +45,6 @@ AC_C_CONST AC_TYPE_MODE_T AC_FUNC_ALLOCA +AC_CHECK_HEADERS([features.h]) + AC_OUTPUT(include/builddefs) diff --git a/include/xattr.h b/include/xattr.h index 070d7c5..3256c77 100644 --- a/include/xattr.h +++ b/include/xattr.h @@ -20,7 +20,9 @@ #ifndef __XATTR_H__ #define __XATTR_H__ +#if HAVE_FEATURES_H #include <features.h> +#endif #include <errno.h> #ifndef ENOATTR |