aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-01-27 16:52:01 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-02-07 22:51:53 +0100
commitd834de2894b5addc5a4a8c5088debd56a8517db1 (patch)
tree0ccc8e0ac5419f7bca4a0b65e3507b6e3670f413 /src
parentbc1d9fd8b5a14334af1d0455e6b4d595cae959d5 (diff)
Fix macOS build
Diffstat (limited to 'src')
-rw-r--r--src/libutil/namespaces.cc4
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()