Remove unneeded HAVE_UNSHARE.

* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.
This commit is contained in:
Manolis Ragkousis 2015-08-19 14:11:15 +03:00 committed by Ludovic Courtès
parent 08859404c0
commit cbe95af712
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#endif #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)
#if CHROOT_ENABLED #if CHROOT_ENABLED
#include <sys/socket.h> #include <sys/socket.h>