aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/optimise-store.cc
diff options
context:
space:
mode:
authorLily Ballard <lily@ballards.net>2024-10-22 02:05:44 +0000
committerGerrit Code Review <gerrit@localhost>2024-10-22 02:05:44 +0000
commit5ce1d8463a8bfd225d1b37f2fcfe3cfb59053ec9 (patch)
tree099848b6672b95ba158053771b399932105fac4d /src/libstore/optimise-store.cc
parent4308ec1ae47d36af727423efec536327abec50e7 (diff)
parent65551175e34ef501ef927a297bddd805a634172e (diff)
Merge "libstore: add missing #include on darwin" into main
Diffstat (limited to 'src/libstore/optimise-store.cc')
-rw-r--r--src/libstore/optimise-store.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc
index 14381b6e0..31cb3d303 100644
--- a/src/libstore/optimise-store.cc
+++ b/src/libstore/optimise-store.cc
@@ -9,6 +9,9 @@
#include <unistd.h>
#include <errno.h>
+#if __APPLE__
+#include <regex>
+#endif
namespace nix {