diff --git a/src/unix/bsd/netbsdlike/openbsd/mod.rs b/src/unix/bsd/netbsdlike/openbsd/mod.rs index 55abf0b411c4d..843bfc95d399a 100644 --- a/src/unix/bsd/netbsdlike/openbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/openbsd/mod.rs @@ -535,6 +535,7 @@ s! { pub struct ptrace_thread_state { pub pts_tid: crate::pid_t, + pub pts_name: [c_char; PT_PTS_NAMELEN as usize], } // search.h @@ -1483,6 +1484,8 @@ pub const PT_GET_THREAD_FIRST: c_int = 15; pub const PT_GET_THREAD_NEXT: c_int = 16; pub const PT_FIRSTMACH: c_int = 32; +pub const PT_PTS_NAMELEN: c_int = 32; + pub const SOCK_CLOEXEC: c_int = 0x8000; pub const SOCK_NONBLOCK: c_int = 0x4000; pub const SOCK_DNS: c_int = 0x1000;