about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/clock_getres.c1
-rw-r--r--sysdeps/unix/sysv/linux/clock_gettime.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f153332dd0..5762da566a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
+	* sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
+
 2005-05-09  Alan Modra  <amodra@bigpond.net.au>
 
 	* sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
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"