about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-19T11·35+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-08-19T11·35+0200
commit1d29db2a9f67af8a32b2f901a6da6697c539a50d (patch)
tree451dabe48a3ca2c77004e1e380c6ba0a318ce9bc /src/libstore/build.cc
parent984c5cdc5044c8e638917b43565df0d3b4a33ff0 (diff)
parent26221e44ebb1f97af73e6f85473f4c90d175db0f (diff)
Merge pull request #608 from Phant0mas/master
Remove unneeded HAVE_UNSHARE.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
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 <linux/fs.h>
 #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__