aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/lock.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-11-08 08:00:29 -0800
committerEelco Dolstra <edolstra@gmail.com>2022-11-08 08:00:29 -0800
commit05d258667d12b2decda87024a59250c43343b509 (patch)
treee50127ceac0781f0b4f091adb70111e3a1a30a0f /src/libstore/lock.hh
parent2fde7e0108d70bcba64ebecc5e5c7ee2863e3446 (diff)
Fix build on macOS
Diffstat (limited to 'src/libstore/lock.hh')
-rw-r--r--src/libstore/lock.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/lock.hh b/src/libstore/lock.hh
index 62676a523..b5536408c 100644
--- a/src/libstore/lock.hh
+++ b/src/libstore/lock.hh
@@ -4,6 +4,8 @@
#include <optional>
+#include <sys/types.h>
+
namespace nix {
struct UserLock