aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/usleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/usleep.c')
-rw-r--r--src/unistd/usleep.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/unistd/usleep.c b/src/unistd/usleep.c
index 6c966526..d9d29481 100644
--- a/src/unistd/usleep.c
+++ b/src/unistd/usleep.c
@@ -10,3 +10,11 @@ int usleep(unsigned useconds)
};
return nanosleep(&tv, &tv);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif