Merge pull request #827 from nathan7/musl

musl compatibility
This commit is contained in:
Eelco Dolstra 2016-03-03 16:05:31 +01:00
commit 0a26b56cba
2 changed files with 1 additions and 2 deletions

View file

@ -21,7 +21,7 @@ AC_ARG_WITH(system, AC_HELP_STRING([--with-system=SYSTEM],
esac
case "$host_os" in
linux-gnu*)
linux-gnu*|linux-musl*)
# For backward compatibility, strip the `-gnu' part.
system="$machine_name-linux";;
*)

View file

@ -52,7 +52,6 @@
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/syscall.h>
#include <linux/fs.h>
#define pivot_root(new_root, put_old) (syscall(SYS_pivot_root, new_root, put_old))
#endif