summaryrefslogtreecommitdiff
path: root/src/sys/epoll.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/epoll.rs')
-rw-r--r--src/sys/epoll.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/epoll.rs b/src/sys/epoll.rs
index fef6f4e3..074a8451 100644
--- a/src/sys/epoll.rs
+++ b/src/sys/epoll.rs
@@ -43,7 +43,7 @@ libc_bitflags!{
}
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
-#[repr(C)]
+#[repr(transparent)]
pub struct EpollEvent {
event: libc::epoll_event,
}