From 4b60b769e438f0cabf6268499ebe03ee76801bc1 Mon Sep 17 00:00:00 2001 From: Noah <33094578+coolreader18@users.noreply.github.com> Date: Thu, 8 Apr 2021 11:51:15 -0500 Subject: Add RLIM_NLIMITS constant as alias of RLIMIT_NLIMITS on linux_like --- src/unix/linux_like/linux/uclibc/mips/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/unix/linux_like/linux/uclibc') diff --git a/src/unix/linux_like/linux/uclibc/mips/mod.rs b/src/unix/linux_like/linux/uclibc/mips/mod.rs index 26408ff82a..a610e8a9fb 100644 --- a/src/unix/linux_like/linux/uclibc/mips/mod.rs +++ b/src/unix/linux_like/linux/uclibc/mips/mod.rs @@ -49,6 +49,7 @@ pub const RLIMIT_RSS: ::c_int = 7; pub const RLIMIT_NPROC: ::c_int = 8; pub const RLIMIT_MEMLOCK: ::c_int = 9; pub const RLIMIT_NLIMITS: ::c_int = 15; +pub const RLIM_NLIMITS: ::c_int = RLIMIT_NLIMITS; pub const O_APPEND: ::c_int = 8; pub const O_CREAT: ::c_int = 256; -- cgit v1.2.1