Merge pull request #537 from trapexit/alpine

fix building on alpine w/ musl
This commit is contained in:
trapexit 2018-11-28 19:40:53 -05:00 committed by GitHub
commit f0f64f8ed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -25,7 +25,8 @@
#endif
#ifdef USE_XATTR
# ifdef __GLIBC__
# ifdef __linux__
# include <sys/types.h>
# include <sys/xattr.h>
# else
# undef USE_XATTR