diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/libstore/build.cc | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3a24053bb..2a043ed13 100644 --- a/configure.ac +++ b/configure.ac @@ -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";; *) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 547981e5b..7d124f6f0 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -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 |