mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-26 10:13:50 +08:00
Merge pull request #537 from trapexit/alpine
fix building on alpine w/ musl
This commit is contained in:
commit
f0f64f8ed1
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include "errno.hpp"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
#endif
|
||||
|
||||
#ifdef USE_XATTR
|
||||
# ifdef __GLIBC__
|
||||
# ifdef __linux__
|
||||
# include <sys/types.h>
|
||||
# include <sys/xattr.h>
|
||||
# else
|
||||
# undef USE_XATTR
|
||||
|
|
Loading…
Reference in New Issue
Block a user