diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-20 15:55:49 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-20 15:55:49 -0400 |
commit | d950cfe70b2b70e938ece672dbccedfd4413c295 (patch) | |
tree | 495620b7e65b9fa006dfa7f8d8563b775e85e7b1 /src/libstore/build.cc | |
parent | 56e30e161cd309addb5aa95ba02a8d3371846228 (diff) |
Check if MS_PRIVATE is defined
http://hydra.nixos.org/build/2955671
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 0ed69614b..a77644054 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -45,7 +45,7 @@ #include <sched.h> #endif -#define CHROOT_ENABLED HAVE_CHROOT && HAVE_UNSHARE && HAVE_SYS_MOUNT_H && defined(MS_BIND) && defined(CLONE_NEWNS) +#define CHROOT_ENABLED HAVE_CHROOT && HAVE_UNSHARE && HAVE_SYS_MOUNT_H && defined(MS_BIND) && defined(MS_PRIVATE) && defined(CLONE_NEWNS) #if CHROOT_ENABLED #include <sys/socket.h> |