aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/fchdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/fchdir.c')
-rw-r--r--src/unistd/fchdir.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/fchdir.c b/src/unistd/fchdir.c
index dee45ba6..1a9aad60 100644
--- a/src/unistd/fchdir.c
+++ b/src/unistd/fchdir.c
@@ -13,3 +13,11 @@ int fchdir(int fd)
__procfdname(buf, fd);
return syscall(SYS_chdir, buf);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif