From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Thiago Henrique Hupner Date: Sat, 5 Jun 2021 08:31:13 -0300 Subject: [PATCH] Let zsh define the rlimit constants Serenity 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 -# if defined(__hpux) && !defined(RLIMIT_CPU) +# if (defined(__hpux) && !defined(RLIMIT_CPU)) || defined(__serenity__) /* 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 but made visible *