summaryrefslogtreecommitdiff
path: root/src/sys/resource.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/resource.rs')
-rw-r--r--src/sys/resource.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sys/resource.rs b/src/sys/resource.rs
index c3bf29e8..dd7f8c5c 100644
--- a/src/sys/resource.rs
+++ b/src/sys/resource.rs
@@ -49,7 +49,11 @@ libc_enum! {
), repr(i32))]
#[non_exhaustive]
pub enum Resource {
- #[cfg(not(any(target_os = "netbsd", target_os = "freebsd")))]
+ #[cfg(not(any(
+ target_os = "freebsd",
+ target_os = "netbsd",
+ target_os = "openbsd"
+ )))]
/// The maximum amount (in bytes) of virtual memory the process is
/// allowed to map.
RLIMIT_AS,