Skip to content

Commit d213c3a

Browse files
committed
illumos epoll_event struct should be packed
1 parent e1ebfaf commit d213c3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/solaris/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ s! {
354354
pub portev_user: *mut ::c_void,
355355
}
356356

357+
#[cfg_attr(any(target_arch = "x86", target_arch = "x86_64"), repr(packed))]
357358
pub struct epoll_event {
358359
pub events: ::uint32_t,
359360
pub u64: ::uint64_t,

0 commit comments

Comments
 (0)