mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 10:51:52 -04:00
fix building on alpine w/ musl
This commit is contained in:
parent
3c1f19e85a
commit
6ae68465cf
2 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue