[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: Remove unneeded HAVE_UNSHARE.
From: |
Ludovic Courtès |
Subject: |
01/03: Remove unneeded HAVE_UNSHARE. |
Date: |
Sun, 01 Nov 2015 13:32:27 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit cbe95af7123fe4d384d36f4a55bfba7286a8de1b
Author: Manolis Ragkousis <address@hidden>
Date: Wed Aug 19 14:11:15 2015 +0300
Remove unneeded HAVE_UNSHARE.
* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.
---
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 a9eedce..efe1ab2 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>