It compiles.
--- ./src/lib/test-file-cache.c.orig Wed Jan 6 19:11:47 2021
+++ ./src/lib/test-file-cache.c Thu Jan 7 11:38:03 2021
@@ -254,6 +254,11 @@
test_assert(size == 0);
test_assert(map == NULL);
+ /* OpenBSD does not support RLIMIT_AS */
+ #ifndef HAVE_RLIMIT_AS
+ #define RLIMIT_AS RLIMIT_DATA
+ #endif
+
/* temporarily set a small memory limit to make mmap attempt fail */
struct rlimit rl_cur;
test_assert(getrlimit(RLIMIT_AS, &rl_cur) == 0);
??????? Original Message ???????
On Thursday, January 7, 2021 6:45 AM, Aki Tuomi <aki.tuomi at
open-xchange.com> wrote:
> Can you try adding this to the file?
>
> #define RLIMIT_AS RLIMIT_DATA
>
> Aki
>
> > On 06/01/2021 22:47 Rupert Gallagher ruga at protonmail.com wrote:
> > OpenBSD
> > -------- Original Message --------
> > On Jan 6, 2021, 21:37, Aki Tuomi < aki.tuomi at
open-xchange.com> wrote:
> > Which distro/OS is this?
> > Aki