aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-06-21 16:46:17 +0000
committerUlrich Drepper <drepper@redhat.com>2001-06-21 16:46:17 +0000
commitfec3cf8165d6523e66f99fb923eed0f966823f81 (patch)
tree6858891fef95b63542b9fd74e917631f886e6075
parent74b981880323a7ceb271bba6e4cf5d63e0710c66 (diff)
downloadglibc-fec3cf8165d6523e66f99fb923eed0f966823f81.zip
glibc-fec3cf8165d6523e66f99fb923eed0f966823f81.tar.gz
glibc-fec3cf8165d6523e66f99fb923eed0f966823f81.tar.bz2
Update.
2001-06-20 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/settimeofday.c: Include time.h.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/settimeofday.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 85c881d..472169c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-20 Alexandre Oliva <aoliva@redhat.com>
+
+ * sysdeps/unix/sysv/settimeofday.c: Include time.h.
+
2001-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-64/dl-cache.h: New file.
diff --git a/sysdeps/unix/sysv/settimeofday.c b/sysdeps/unix/sysv/settimeofday.c
index d0e8330..d4983b4 100644
--- a/sysdeps/unix/sysv/settimeofday.c
+++ b/sysdeps/unix/sysv/settimeofday.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -17,6 +17,7 @@
Boston, MA 02111-1307, USA. */
#include <errno.h>
+#include <time.h>
#include <sys/time.h>
/* Set the current time of day and timezone information.