mirror of
https://github.com/vgough/encfs.git
synced 2024-11-22 07:53:31 +01:00
Use sys/xattr.h instead of attr/xattr.h by default
This commit is contained in:
parent
8ae9282efe
commit
8034da6a59
@ -109,10 +109,10 @@ AC_CACHE_CHECK([whether xattr interface takes additional options],
|
|||||||
LIBS="$LIBS $ACL_LIBS"
|
LIBS="$LIBS $ACL_LIBS"
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#if HAVE_ATTR_XATTR_H
|
#if HAVE_SYS_XATTR_H
|
||||||
#include <attr/xattr.h>
|
|
||||||
#elif HAVE_SYS_XATTR_H
|
|
||||||
#include <sys/xattr.h>
|
#include <sys/xattr.h>
|
||||||
|
#elif HAVE_ATTR_XATTR_H
|
||||||
|
#include <attr/xattr.h>
|
||||||
#endif
|
#endif
|
||||||
],[
|
],[
|
||||||
getxattr(0, 0, 0, 0, 0, 0);
|
getxattr(0, 0, 0, 0, 0, 0);
|
||||||
|
@ -31,10 +31,10 @@
|
|||||||
#include <sys/fsuid.h>
|
#include <sys/fsuid.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_ATTR_XATTR_H
|
#if HAVE_SYS_XATTR_H
|
||||||
#include <attr/xattr.h>
|
|
||||||
#elif HAVE_SYS_XATTR_H
|
|
||||||
#include <sys/xattr.h>
|
#include <sys/xattr.h>
|
||||||
|
#elif HAVE_ATTR_XATTR_H
|
||||||
|
#include <attr/xattr.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
Loading…
Reference in New Issue
Block a user