Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Mar 26, 2019
1 parent c217e2f commit 8abce83
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions src/unix/notbsd/android/mod.rs
Expand Up @@ -190,6 +190,13 @@ s! {
pub ipi6_addr: ::in6_addr,
pub ipi6_ifindex: ::c_int,
}

pub struct inotify_event {
pub wd: ::c_int,
pub mask: ::uint32_t,
pub cookie: ::uint32_t,
pub len: ::uint32_t
}
}

s_no_extra_traits!{
Expand Down Expand Up @@ -249,13 +256,6 @@ s_no_extra_traits!{
pub ivlen: u32,
pub iv: [::c_uchar; 0],
}

pub struct inotify_event {
pub wd: ::c_int,
pub mask: ::uint32_t,
pub cookie: ::uint32_t,
pub len: ::uint32_t
}
}

cfg_if! {
Expand Down
14 changes: 7 additions & 7 deletions src/unix/notbsd/linux/mod.rs
Expand Up @@ -493,6 +493,13 @@ s! {
pub updated: ::c_ulong,
pub ha: [::c_uchar; ::MAX_ADDR_LEN],
}

pub struct inotify_event {
pub wd: ::c_int,
pub mask: ::uint32_t,
pub cookie: ::uint32_t,
pub len: ::uint32_t
}
}

s_no_extra_traits!{
Expand Down Expand Up @@ -524,13 +531,6 @@ s_no_extra_traits!{
pub ivlen: u32,
pub iv: [::c_uchar; 0],
}

pub struct inotify_event {
pub wd: ::c_int,
pub mask: ::uint32_t,
pub cookie: ::uint32_t,
pub len: ::uint32_t
}
}

cfg_if! {
Expand Down

0 comments on commit 8abce83

Please sign in to comment.