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
parent
commit
f0f64f8ed1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/fs_copy_file_range_linux.icpp
  2. 3
      src/xattr.hpp

1
src/fs_copy_file_range_linux.icpp

@ -22,6 +22,7 @@
#include "errno.hpp"
#include <fcntl.h>
#include <stdio.h>
#include <sys/syscall.h>
#include <sys/types.h>

3
src/xattr.hpp

@ -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…
Cancel
Save