Skip to content

Commit

Permalink
Merge pull request #8 from dianpopa/master
Browse files Browse the repository at this point in the history
Fix inconsistency with libc attribute decoration
  • Loading branch information
nathansizemore committed Dec 19, 2018
2 parents 4597fb3 + 3318c7d commit 0f8bf6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ bitflags! {

/// 'libc::epoll_event' equivalent.
#[repr(C)]
#[repr(packed)]
#[cfg_attr(target_arch = "x86_64", repr(packed))]
#[derive(Clone, Copy)]
pub struct Event {
pub events: u32,
Expand Down

0 comments on commit 0f8bf6d

Please sign in to comment.