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:
Sébastien Marie 2015-12-21 16:51:42 +01:00
parent b1a108c245
commit 6dc38681a6

View File

@ -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 {