Skip to content

Commit f05e48c

Browse files
committed
Patch in id_t missing in a few places
1 parent 31d9779 commit f05e48c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/unix/bsd/freebsdlike/freebsd/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ extern {
400400
timeout: *mut ::timespec) -> ::ssize_t;
401401

402402
pub fn freelocale(loc: ::locale_t) -> ::c_int;
403-
pub fn waitid(idtype: idtype_t, id: id_t, infop: *mut ::siginfo_t,
403+
pub fn waitid(idtype: idtype_t, id: ::id_t, infop: *mut ::siginfo_t,
404404
options: ::c_int) -> ::c_int;
405405
}
406406

src/unix/haiku/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ pub type fsblkcnt_t = i64;
2828
pub type fsfilcnt_t = i64;
2929
pub type pthread_attr_t = *mut ::c_void;
3030
pub type nl_item = ::c_int;
31+
pub type id_t = i32;
3132

3233
// idtype_t is specified as a C enum:
3334
// http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_wait.h.html

src/unix/solaris/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pub type pthread_key_t = ::c_uint;
3232
pub type blksize_t = u32;
3333
pub type fflags_t = u32;
3434
pub type nl_item = ::c_int;
35+
pub type id_t = ::c_int;
3536

3637
// idtype_t is specified as a C enum:
3738
// http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_wait.h.html

0 commit comments

Comments
 (0)