illumos epoll_event struct should be packed

This commit is contained in:
Mike Zeller 2018-08-01 00:30:45 -04:00
parent e1ebfafc2f
commit d213c3acbd
1 changed files with 1 additions and 0 deletions

View File

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