From 823a13164679f0e0431f7ec3fc102e1348d4ee03 Mon Sep 17 00:00:00 2001 From: Niels Sascha Reedijk Date: Sat, 23 Sep 2017 13:37:05 +0000 Subject: [PATCH] Haiku: add constants from wait.h --- src/unix/haiku/mod.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/unix/haiku/mod.rs b/src/unix/haiku/mod.rs index ab53e6c..a40483d 100644 --- a/src/unix/haiku/mod.rs +++ b/src/unix/haiku/mod.rs @@ -576,6 +576,13 @@ pub const SA_NOCLDSTOP: ::c_int = 0x01; pub const FD_SETSIZE: usize = 1024; +pub const WNOHANG: ::c_int = 0x01; +pub const WUNTRACED: ::c_int = 0x02; +pub const WCONTINUED: ::c_int = 0x04; +pub const WEXITED: ::c_int = 0x08; +pub const WSTOPPED: ::c_int = 0x10; +pub const WNOWAIT: ::c_int = 0x20; + pub const RTLD_NOW: ::c_int = 0x1; pub const RTLD_DEFAULT: *mut ::c_void = 0isize as *mut ::c_void; -- 2.7.0