From 26221e44ebb1f97af73e6f85473f4c90d175db0f Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis Date: Wed, 19 Aug 2015 14:11:15 +0300 Subject: Remove unneeded HAVE_UNSHARE. * src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE. --- src/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 73d4524db033..1eb7e806ca63 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -54,7 +54,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) /* chroot-like behavior from Apple's sandbox */ #if __APPLE__ -- cgit 1.4.1