From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thiago Henrique Hupner <thihup@gmail.com> Date: Sat, 5 Jun 2021 08:31:13 -0300 Subject: [PATCH] Let zsh define the rlimit constants Minerva doesn't have those anyhow. --- Src/zsh_system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/zsh_system.h b/Src/zsh_system.h index 161b073..00286f2 100644 --- a/Src/zsh_system.h +++ b/Src/zsh_system.h @@ -556,7 +556,7 @@ int setresgid(gid_t, gid_t, gid_t); #ifdef HAVE_SYS_RESOURCE_H # include <sys/resource.h> -# if defined(__hpux) && !defined(RLIMIT_CPU) +# if (defined(__hpux) && !defined(RLIMIT_CPU)) || defined(__minerva__) /* HPUX does have the BSD rlimits in the kernel. Officially they are * * unsupported but quite a few of them like RLIMIT_CORE seem to work. * * All the following are in the <sys/resource.h> but made visible *