aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/clock_getres.c1
-rw-r--r--sysdeps/unix/sysv/linux/clock_gettime.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/clock_getres.c b/sysdeps/unix/sysv/linux/clock_getres.c
index 610738f7bb..2d0136dfeb 100644
--- a/sysdeps/unix/sysv/linux/clock_getres.c
+++ b/sysdeps/unix/sysv/linux/clock_getres.c
@@ -19,6 +19,7 @@
#include <sysdep.h>
#include <errno.h>
+#include <time.h>
#include "kernel-posix-cpu-timers.h"
#include "kernel-features.h"
diff --git a/sysdeps/unix/sysv/linux/clock_gettime.c b/sysdeps/unix/sysv/linux/clock_gettime.c
index 41fbbde1cc..bd79642dd5 100644
--- a/sysdeps/unix/sysv/linux/clock_gettime.c
+++ b/sysdeps/unix/sysv/linux/clock_gettime.c
@@ -19,6 +19,7 @@
#include <sysdep.h>
#include <errno.h>
+#include <time.h>
#include "kernel-posix-cpu-timers.h"
#include "kernel-features.h"