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

View file

@ -45,7 +45,7 @@
#include <sched.h> #include <sched.h>
#endif #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 #if CHROOT_ENABLED
#include <sys/socket.h> #include <sys/socket.h>