mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-22 10:48:30 +08:00
Merge pull request #179 from trapexit/fix-noxattr
fix building without xattr
This commit is contained in:
commit
4adeb6348b
|
@ -22,11 +22,11 @@
|
|||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <sys/types.h>
|
||||
#include <attr/xattr.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <string>
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
#include <set>
|
||||
#include <algorithm>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "config.hpp"
|
||||
|
@ -62,7 +62,7 @@ _lgetxattr(const string &path,
|
|||
|
||||
return ((rv == -1) ? -errno : rv);
|
||||
#else
|
||||
return -ENOSUP;
|
||||
return -ENOTSUP;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user