Expose ppoll on some BSDs

This commit is contained in:
Bryant Mairs 2017-02-24 08:46:15 -08:00
parent 6d5aa56e71
commit 871f3b2cf6

View File

@ -922,6 +922,10 @@ extern {
pub fn pthread_mutex_timedlock(lock: *mut pthread_mutex_t,
abstime: *const ::timespec) -> ::c_int;
pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int;
pub fn ppoll(fds: *mut ::pollfd,
nfds: nfds_t,
timeout: *const ::timespec,
sigmask: *const sigset_t) -> ::c_int;
}
cfg_if! {