1
0
mirror of https://github.com/vgough/encfs.git synced 2025-07-10 01:17:40 +02:00

Merge pull request from doughdemon/master

Make it compile with musl libc
This commit is contained in:
Valient Gough
2014-11-16 20:55:25 -08:00
3 changed files with 7 additions and 6 deletions

@ -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>

@ -23,6 +23,7 @@
#include <string> #include <string>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <limits.h>
#include <rlog/rlog.h> #include <rlog/rlog.h>
#include <rlog/StdioNode.h> #include <rlog/StdioNode.h>