Module Name:    src
Committed By:   tsutsui
Date:           Sat May 21 07:30:42 UTC 2011

Modified Files:
        src/usr.bin/make: var.c

Log Message:
Explicitly #include <time.h> for time(3) and strftime(3).
Fixes warnings on some non NetBSD hosts.


To generate a diff of this commit:
cvs rdiff -u -r1.165 -r1.166 src/usr.bin/make/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/var.c
diff -u src/usr.bin/make/var.c:1.165 src/usr.bin/make/var.c:1.166
--- src/usr.bin/make/var.c:1.165	Mon Apr 11 14:49:09 2011
+++ src/usr.bin/make/var.c	Sat May 21 07:30:42 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: var.c,v 1.165 2011/04/11 14:49:09 sjg Exp $	*/
+/*	$NetBSD: var.c,v 1.166 2011/05/21 07:30:42 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
  */
 
 #ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: var.c,v 1.165 2011/04/11 14:49:09 sjg Exp $";
+static char rcsid[] = "$NetBSD: var.c,v 1.166 2011/05/21 07:30:42 tsutsui Exp $";
 #else
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char sccsid[] = "@(#)var.c	8.3 (Berkeley) 3/19/94";
 #else
-__RCSID("$NetBSD: var.c,v 1.165 2011/04/11 14:49:09 sjg Exp $");
+__RCSID("$NetBSD: var.c,v 1.166 2011/05/21 07:30:42 tsutsui Exp $");
 #endif
 #endif /* not lint */
 #endif
@@ -132,6 +132,7 @@
 #include    <inttypes.h>
 #include    <stdlib.h>
 #include    <limits.h>
+#include    <time.h>
 
 #include    "make.h"
 #include    "buf.h"

Reply via email to