fix: Fix build process-hardening build on NetBSD (#7238)

This fixes the build of codex on NetBSD.
This commit is contained in:
Thomas Klausner 2025-11-24 20:46:43 +01:00 committed by GitHub
parent 6dd3606773
commit 481c84e118
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,6 +29,7 @@ const PTRACE_DENY_ATTACH_FAILED_EXIT_CODE: i32 = 6;
target_os = "android",
target_os = "macos",
target_os = "freebsd",
target_os = "netbsd",
target_os = "openbsd"
))]
const SET_RLIMIT_CORE_FAILED_EXIT_CODE: i32 = 7;