aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-21 20:17:48 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-21 20:17:48 +0000
commit37ada9da6e05ab37eb3031c473b9898d6def4334 (patch)
tree324e5aba4ed3d297e9afdb6ac77b0be46c8982b8
parent8d18644b914489911941196095a4df03cb819457 (diff)
downloadglibc-37ada9da6e05ab37eb3031c473b9898d6def4334.zip
glibc-37ada9da6e05ab37eb3031c473b9898d6def4334.tar.gz
glibc-37ada9da6e05ab37eb3031c473b9898d6def4334.tar.bz2
Update.
* sysdeps/generic/ftime.c: Include <time.h>.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/generic/ftime.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 07d39f1..ac761d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2001-02-21 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/generic/ftime.c: Include <time.h>.
+
* configure.in: Don't check for libgd if user set --without-gd.
Patch by Achim Gottinger <achim@gentoo.org>.
diff --git a/sysdeps/generic/ftime.c b/sysdeps/generic/ftime.c
index cc8ff31..3e9852c 100644
--- a/sysdeps/generic/ftime.c
+++ b/sysdeps/generic/ftime.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 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
@@ -16,6 +16,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <time.h>
#include <sys/timeb.h>
#include <sys/time.h>
#include <errno.h>