Check if MS_PRIVATE is defined

http://hydra.nixos.org/build/2955671
This commit is contained in:
Eelco Dolstra 2012-08-20 15:55:49 -04:00
parent 56e30e161c
commit d950cfe70b
1 changed files with 1 additions and 1 deletions

View File

@ -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>