From 3aad088cf198c32e58812ac87136325d04e8c958 Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sat, 2 Nov 2024 07:16:58 +0000 Subject: [PATCH] libstore: Fix FreeBSD build FreeBSD was left out of a few refactors over the last few months. Add a header and register the store implementation so it's back to working as well as it was before. Change-Id: I6f7b2ceb557c290f2d9e0d7f207b3fea87b353ed --- src/libstore/platform/freebsd.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libstore/platform/freebsd.cc b/src/libstore/platform/freebsd.cc index bdba1abf5..f625dd540 100644 --- a/src/libstore/platform/freebsd.cc +++ b/src/libstore/platform/freebsd.cc @@ -1,5 +1,6 @@ #include "platform/freebsd.hh" #include "regex.hh" +#include "strings.hh" #include #include #include @@ -139,4 +140,10 @@ void FreeBSDLocalStore::findPlatformRoots(UncheckedRoots & unchecked) } } } + +void registerLocalStore() +{ + StoreImplementations::add(); +} + }