summaryrefslogtreecommitdiff
path: root/rt
diff options
context:
space:
mode:
Diffstat (limited to 'rt')
-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 005f00ef96..98a8b5f57c 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. */