use proper type of si_addr in siginfo_t
under openbsd it is a `caddr_t` which expand to `char *`. as the size of the type change, adjust the padding too.
This commit is contained in:
parent
b1a108c245
commit
6dc38681a6
@ -99,8 +99,8 @@ s! {
|
|||||||
pub si_signo: ::c_int,
|
pub si_signo: ::c_int,
|
||||||
pub si_code: ::c_int,
|
pub si_code: ::c_int,
|
||||||
pub si_errno: ::c_int,
|
pub si_errno: ::c_int,
|
||||||
pub si_addr: *mut ::c_void,
|
pub si_addr: *mut ::c_char,
|
||||||
__pad: [u8; 116],
|
__pad: [u8; 108],
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Dl_info {
|
pub struct Dl_info {
|
||||||
|
Loading…
Reference in New Issue
Block a user