diff options
-rw-r--r-- | epoll.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -36,15 +36,15 @@ pub const EPOLLET: u32 = 0x80000000; #[cfg(target_arch = "x86_64")] #[repr(C, packed)] pub struct epoll_event { - events: u32, - data: u64 + pub events: u32, + pub data: u64 } #[cfg(not(target_arch = "x86_64"))] #[repr(C)] pub struct epoll_event { - events: i32, - data: u64 + pub events: i32, + pub data: u64 } mod __glibc { |