aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 07d39f161c..ac761d2f39 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 cc8ff31408..3e9852c4e6 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>