aboutsummaryrefslogtreecommitdiff
path: root/src/linux/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/chroot.c')
-rw-r--r--src/linux/chroot.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/linux/chroot.c b/src/linux/chroot.c
index 0e69f145..7193836c 100644
--- a/src/linux/chroot.c
+++ b/src/linux/chroot.c
@@ -6,3 +6,11 @@ int chroot(const char *path)
{
return syscall(SYS_chroot, path);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif