diff options
author | Carl Lerche <me@carllerche.com> | 2015-07-20 15:13:42 -0700 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2015-07-20 15:13:42 -0700 |
commit | 5801318c0c4c6eeb3431144a89496830f55d6628 (patch) | |
tree | 0185089130e9fff394cb038bcc2f2454f8299b06 /src | |
parent | 9ac438b82fee5b2f55a66fa26b2ebd419445a368 (diff) | |
download | nix-5801318c0c4c6eeb3431144a89496830f55d6628.zip |
Derive Clone for EpollEvent on android.
Fixes #165
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/epoll.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/epoll.rs b/src/sys/epoll.rs index 9d4b7ceb..d510faf3 100644 --- a/src/sys/epoll.rs +++ b/src/sys/epoll.rs @@ -79,7 +79,7 @@ pub enum EpollOp { } #[cfg(all(target_os = "android", not(target_arch = "x86_64")))] -#[derive(Copy)] +#[derive(Clone, Copy)] #[repr(C)] pub struct EpollEvent { pub events: EpollEventKind, |