summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unix/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index f88ed6dcc2..427553d13e 100644
--- a/src/unix/mod.rs
+++ b/src/unix/mod.rs
@@ -366,6 +366,7 @@ extern {
pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int;
pub fn alarm(seconds: ::c_uint) -> ::c_uint;
pub fn chdir(dir: *const c_char) -> ::c_int;
+ pub fn fchdir(dirfd: ::c_int) -> ::c_int;
pub fn chown(path: *const c_char, uid: uid_t,
gid: gid_t) -> ::c_int;
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),