summary refs log tree commit diff
diff options
context:
space:
mode:
-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>