about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/stime.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 863160c2c3..f9a36f3756 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
 
+	* sysdeps/unix/stime.c: Include <time.h>.
+
 	* sysdeps/mach/hurd/setitimer.c: Include <time.h>.
 
 2001-02-10  Andreas Jaeger  <aj@suse.de>
diff --git a/sysdeps/unix/stime.c b/sysdeps/unix/stime.c
index c393afb4f9..acaf31f2b3 100644
--- a/sysdeps/unix/stime.c
+++ b/sysdeps/unix/stime.c
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <stddef.h>		/* For NULL.  */
 #include <sys/time.h>
+#include <time.h>
 
 /* Set the system clock to *WHEN.  */