From 8b296bd3a2be8ecd420b68641e97ae52fdc0c0fe Mon Sep 17 00:00:00 2001 From: David Hotham Date: Sat, 12 Dec 2015 11:52:54 +0000 Subject: [PATCH] Add PATH_MAX --- src/unix/notbsd/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/notbsd/mod.rs b/src/unix/notbsd/mod.rs index 3a8f2958..51b08b80 100644 --- a/src/unix/notbsd/mod.rs +++ b/src/unix/notbsd/mod.rs @@ -338,6 +338,8 @@ pub const SA_RESETHAND: ::c_int = 0x80000000; pub const SA_RESTART: ::c_int = 0x10000000; pub const SA_NOCLDSTOP: ::c_int = 0x00000001; +pub const PATH_MAX: ::c_int = 4096; + pub const FD_SETSIZE: usize = 1024; f! {