about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-03-01 05:39:10 +0000
committerRoland McGrath <roland@gnu.org>2006-03-01 05:39:10 +0000
commit0b890d59bd75cb8ab9232ab72ed8674054e11fa3 (patch)
tree0b1766c2f2926e2ed362ad997f899fb2c884ec2d
parente2c7e1de2b8f2539d613b7c7adeb65132bb1f0ce (diff)
downloadglibc-0b890d59bd75cb8ab9232ab72ed8674054e11fa3.tar.gz
glibc-0b890d59bd75cb8ab9232ab72ed8674054e11fa3.tar.xz
glibc-0b890d59bd75cb8ab9232ab72ed8674054e11fa3.zip
* nscd/nscd_helper.c: Include <time.h> for `time' declaration.
-rw-r--r--ChangeLog2
-rw-r--r--nscd/nscd_helper.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 50ceb0aed8..6ccf70ada2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-02-28  Roland McGrath  <roland@redhat.com>
 
+	* nscd/nscd_helper.c: Include <time.h> for `time' declaration.
+
 	* include/fcntl.h: Declare __openat, __open64.  Use libc_hidden_proto.
 	* io/openat.c (__openat): Define instead of openat.
 	Use libc_hidden_def.  Define openat with weak_alias.
diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c
index 827d3a97ab..8025168a5e 100644
--- a/nscd/nscd_helper.c
+++ b/nscd/nscd_helper.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998-2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2002,2003,2004,2005,2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -21,6 +21,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stdbool.h>
+#include <time.h>
 #include <unistd.h>
 #include <sys/mman.h>
 #include <sys/poll.h>