File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ pub type fixpt_t = __fixpt_t;
11
11
pub type __lwpid_t = i32 ;
12
12
pub type lwpid_t = __lwpid_t ;
13
13
pub type blksize_t = i32 ;
14
+ pub type ksize_t = u64 ;
15
+ pub type inp_gen_t = u64 ;
16
+ pub type so_gen_t = u64 ;
14
17
pub type clockid_t = c_int ;
15
18
pub type sem_t = _sem ;
16
19
pub type timer_t = * mut __c_anonymous__timer ;
@@ -1722,6 +1725,16 @@ s_no_extra_traits! {
1722
1725
pub uc_flags: c_int,
1723
1726
__spare__: [ c_int; 4 ] ,
1724
1727
}
1728
+
1729
+ #[ repr( align( 8 ) ) ]
1730
+ pub struct xinpgen {
1731
+ pub xig_len: ksize_t,
1732
+ pub xig_count: u32 ,
1733
+ _xig_spare32: u32 ,
1734
+ pub xig_gen: inp_gen_t,
1735
+ pub xig_sogen: so_gen_t,
1736
+ _xig_spare64: [ u64 ; 4 ] ,
1737
+ }
1725
1738
}
1726
1739
1727
1740
cfg_if ! {
You can’t perform that action at this time.
0 commit comments