illumos epoll_event struct should be packed
This commit is contained in:
parent
e1ebfafc2f
commit
d213c3acbd
|
@ -354,6 +354,7 @@ s! {
|
|||
pub portev_user: *mut ::c_void,
|
||||
}
|
||||
|
||||
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), repr(packed))]
|
||||
pub struct epoll_event {
|
||||
pub events: ::uint32_t,
|
||||
pub u64: ::uint64_t,
|
||||
|
|
Loading…
Reference in New Issue