Module Name: src
Committed By: christos
Date: Tue Jan 10 15:32:46 UTC 2017
Modified Files:
src/tests/lib/libc/gen: t_time.c
Log Message:
PR/51812: Ngie Cooper: According to ToG gettimeofday() needs <sys/time.h>
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/gen/t_time.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libc/gen/t_time.c
diff -u src/tests/lib/libc/gen/t_time.c:1.3 src/tests/lib/libc/gen/t_time.c:1.4
--- src/tests/lib/libc/gen/t_time.c:1.3 Fri Oct 31 08:22:38 2014
+++ src/tests/lib/libc/gen/t_time.c Tue Jan 10 10:32:46 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: t_time.c,v 1.3 2014/10/31 12:22:38 justin Exp $ */
+/* $NetBSD: t_time.c,v 1.4 2017/01/10 15:32:46 christos Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_time.c,v 1.3 2014/10/31 12:22:38 justin Exp $");
+__RCSID("$NetBSD: t_time.c,v 1.4 2017/01/10 15:32:46 christos Exp $");
#include <atf-c.h>
#include <errno.h>
@@ -38,6 +38,7 @@ __RCSID("$NetBSD: t_time.c,v 1.3 2014/10
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
+#include <sys/time.h>
#include <unistd.h>
ATF_TC(time_copy);