Browse Source
Merge pull request #537 from trapexit/alpine
fix building on alpine w/ musl
pull/539/head
trapexit
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
src/fs_copy_file_range_linux.icpp
-
src/xattr.hpp
|
@ -22,6 +22,7 @@ |
|
|
|
|
|
|
|
|
#include "errno.hpp" |
|
|
#include "errno.hpp" |
|
|
|
|
|
|
|
|
|
|
|
#include <fcntl.h> |
|
|
#include <stdio.h> |
|
|
#include <stdio.h> |
|
|
#include <sys/syscall.h> |
|
|
#include <sys/syscall.h> |
|
|
#include <sys/types.h> |
|
|
#include <sys/types.h> |
|
|
|
@ -25,7 +25,8 @@ |
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
|
|
|
#ifdef USE_XATTR
|
|
|
#ifdef USE_XATTR
|
|
|
# ifdef __GLIBC__
|
|
|
|
|
|
|
|
|
# ifdef __linux__
|
|
|
|
|
|
# include <sys/types.h>
|
|
|
# include <sys/xattr.h>
|
|
|
# include <sys/xattr.h>
|
|
|
# else
|
|
|
# else
|
|
|
# undef USE_XATTR
|
|
|
# undef USE_XATTR
|
|
|