aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/getcwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/getcwd.c')
-rw-r--r--src/unistd/getcwd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/getcwd.c b/src/unistd/getcwd.c
index f407ffe0..5c29f699 100644
--- a/src/unistd/getcwd.c
+++ b/src/unistd/getcwd.c
@@ -23,3 +23,11 @@ char *getcwd(char *buf, size_t size)
}
return buf == tmp ? strdup(buf) : buf;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif