diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-01-27 16:52:01 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-02-07 22:51:53 +0100 |
commit | d834de2894b5addc5a4a8c5088debd56a8517db1 (patch) | |
tree | 0ccc8e0ac5419f7bca4a0b65e3507b6e3670f413 | |
parent | bc1d9fd8b5a14334af1d0455e6b4d595cae959d5 (diff) |
Fix macOS build
-rw-r--r-- | src/libutil/namespaces.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/namespaces.cc b/src/libutil/namespaces.cc index 222f0d11b..b1cdbfe03 100644 --- a/src/libutil/namespaces.cc +++ b/src/libutil/namespaces.cc @@ -1,11 +1,11 @@ +#if __linux__ + #include "namespaces.hh" #include "util.hh" #include "finally.hh" #include <mntent.h> -#if __linux__ - namespace nix { bool userNamespacesSupported() |