Skip to content

Commit 8abce83

Browse files
committed
Fix build
1 parent c217e2f commit 8abce83

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/unix/notbsd/android/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@ s! {
190190
pub ipi6_addr: ::in6_addr,
191191
pub ipi6_ifindex: ::c_int,
192192
}
193+
194+
pub struct inotify_event {
195+
pub wd: ::c_int,
196+
pub mask: ::uint32_t,
197+
pub cookie: ::uint32_t,
198+
pub len: ::uint32_t
199+
}
193200
}
194201

195202
s_no_extra_traits!{
@@ -249,13 +256,6 @@ s_no_extra_traits!{
249256
pub ivlen: u32,
250257
pub iv: [::c_uchar; 0],
251258
}
252-
253-
pub struct inotify_event {
254-
pub wd: ::c_int,
255-
pub mask: ::uint32_t,
256-
pub cookie: ::uint32_t,
257-
pub len: ::uint32_t
258-
}
259259
}
260260

261261
cfg_if! {

src/unix/notbsd/linux/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,13 @@ s! {
493493
pub updated: ::c_ulong,
494494
pub ha: [::c_uchar; ::MAX_ADDR_LEN],
495495
}
496+
497+
pub struct inotify_event {
498+
pub wd: ::c_int,
499+
pub mask: ::uint32_t,
500+
pub cookie: ::uint32_t,
501+
pub len: ::uint32_t
502+
}
496503
}
497504

498505
s_no_extra_traits!{
@@ -524,13 +531,6 @@ s_no_extra_traits!{
524531
pub ivlen: u32,
525532
pub iv: [::c_uchar; 0],
526533
}
527-
528-
pub struct inotify_event {
529-
pub wd: ::c_int,
530-
pub mask: ::uint32_t,
531-
pub cookie: ::uint32_t,
532-
pub len: ::uint32_t
533-
}
534534
}
535535

536536
cfg_if! {

0 commit comments

Comments
 (0)