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