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;
1111pub type __lwpid_t = i32 ;
1212pub type lwpid_t = __lwpid_t ;
1313pub type blksize_t = i32 ;
14+ pub type ksize_t = u64 ;
15+ pub type inp_gen_t = u64 ;
16+ pub type so_gen_t = u64 ;
1417pub type clockid_t = c_int ;
1518pub type sem_t = _sem ;
1619pub type timer_t = * mut __c_anonymous__timer ;
@@ -1701,6 +1704,16 @@ s_no_extra_traits! {
17011704 pub uc_flags: c_int,
17021705 __spare__: [ c_int; 4 ] ,
17031706 }
1707+
1708+ #[ repr( align( 8 ) ) ]
1709+ pub struct xinpgen {
1710+ pub xig_len: ksize_t,
1711+ pub xig_count: u32 ,
1712+ _xig_spare32: u32 ,
1713+ pub xig_gen: inp_gen_t,
1714+ pub xig_sogen: so_gen_t,
1715+ _xig_spare64: [ u64 ; 4 ] ,
1716+ }
17041717}
17051718
17061719cfg_if ! {
You can’t perform that action at this time.
0 commit comments