From 4e61877b5c64096fa3ea63bf5ead7e17e1ddef66 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 27 Jan 2023 16:52:31 +0100 Subject: [PATCH] More #ifdef --- src/libutil/namespaces.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libutil/namespaces.hh b/src/libutil/namespaces.hh index ad7bb559e..34e54d5ad 100644 --- a/src/libutil/namespaces.hh +++ b/src/libutil/namespaces.hh @@ -2,10 +2,14 @@ namespace nix { +#if __linux__ + bool userNamespacesSupported(); bool mountNamespacesSupported(); bool pidNamespacesSupported(); +#endif + }