about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/stime.c3
-rw-r--r--sysdeps/unix/time.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5363f67f22..620c716315 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
 
-	* sysdeps/unix/time.c: Include <stddef.h> for NULL.
+	* sysdeps/unix/stime.c: Include <stddef.h> for NULL.
+	* sysdeps/unix/time.c: Likewise.
 
 	* conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
 	* sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
diff --git a/sysdeps/unix/stime.c b/sysdeps/unix/stime.c
index 3fee3ac699..c393afb4f9 100644
--- a/sysdeps/unix/stime.c
+++ b/sysdeps/unix/stime.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 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 <stddef.h>		/* For NULL.  */
 #include <sys/time.h>
 
 /* Set the system clock to *WHEN.  */
diff --git a/sysdeps/unix/time.c b/sysdeps/unix/time.c
index ef41d88ec7..83c68484ff 100644
--- a/sysdeps/unix/time.c
+++ b/sysdeps/unix/time.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 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 <stddef.h>		/* For NULL.  */
 #include <time.h>
 #include <sys/time.h>