diff options
author | Manolis Ragkousis <manolis837@gmail.com> | 2015-08-19 14:11:15 +0300 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-01 14:26:54 +0100 |
commit | cbe95af7123fe4d384d36f4a55bfba7286a8de1b (patch) | |
tree | d049b2d0209fe0973e1ef78f88b274a2d5544478 /nix/libstore | |
parent | 08859404c0a52af8ef9a083399814d081774893a (diff) | |
download | guix-cbe95af7123fe4d384d36f4a55bfba7286a8de1b.tar guix-cbe95af7123fe4d384d36f4a55bfba7286a8de1b.tar.gz |
Remove unneeded HAVE_UNSHARE.
* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.
Diffstat (limited to 'nix/libstore')
-rw-r--r-- | nix/libstore/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index a9eedcef16..efe1ab2b17 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -51,7 +51,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) #if CHROOT_ENABLED #include <sys/socket.h> |