From cbe95af7123fe4d384d36f4a55bfba7286a8de1b Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis Date: Wed, 19 Aug 2015 14:11:15 +0300 Subject: [PATCH] Remove unneeded HAVE_UNSHARE. * src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE. --- nix/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index a9eedcef16..efe1ab2b17 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -51,7 +51,7 @@ #include #endif -#define CHROOT_ENABLED HAVE_CHROOT && HAVE_UNSHARE && HAVE_SYS_MOUNT_H && defined(MS_BIND) && defined(MS_PRIVATE) && defined(CLONE_NEWNS) && defined(SYS_pivot_root) +#define CHROOT_ENABLED HAVE_CHROOT && HAVE_SYS_MOUNT_H && defined(MS_BIND) && defined(MS_PRIVATE) && defined(CLONE_NEWNS) && defined(SYS_pivot_root) #if CHROOT_ENABLED #include