Skip to content

Commit 2126c45

Browse files
committed
adapt padding size of struct siginfo_t to pointer size
1 parent 69afc3a commit 2126c45

File tree

1 file changed

+3
-0
lines changed
  • src/unix/bsd/netbsdlike/openbsdlike

1 file changed

+3
-0
lines changed

src/unix/bsd/netbsdlike/openbsdlike/mod.rs

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ s! {
108108
pub si_code: ::c_int,
109109
pub si_errno: ::c_int,
110110
pub si_addr: *mut ::c_char,
111+
#[cfg(target_pointer_width = "32")]
112+
__pad: [u8; 112],
113+
#[cfg(target_pointer_width = "64")]
111114
__pad: [u8; 108],
112115
}
113116

0 commit comments

Comments
 (0)