summaryrefslogtreecommitdiff
path: root/posix/tst-nanosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/tst-nanosleep.c')
-rw-r--r--posix/tst-nanosleep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/tst-nanosleep.c b/posix/tst-nanosleep.c
index a087db86ff..0fa0135bc6 100644
--- a/posix/tst-nanosleep.c
+++ b/posix/tst-nanosleep.c
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <unistd.h>
#include <sys/time.h>
+#include <time.h>
/* Test that nanosleep() does sleep. */