about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-05-09 19:23:39 +0000
committerRoland McGrath <roland@gnu.org>2005-05-09 19:23:39 +0000
commit6ba85a6dceaf3d0a9e85bbba650431b5674423b7 (patch)
tree5cce1bed63fdd88066b4fd00ead59c48b8389e53 /sysdeps
parent387bbe63e7ac423259a5962a7380e529fdcffa20 (diff)
downloadglibc-6ba85a6dceaf3d0a9e85bbba650431b5674423b7.tar.gz
glibc-6ba85a6dceaf3d0a9e85bbba650431b5674423b7.tar.xz
glibc-6ba85a6dceaf3d0a9e85bbba650431b5674423b7.zip
* sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
	* sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
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"