Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/gen PR/51812: Ngie Cooper: According to ToG g...



details:   https://anonhg.NetBSD.org/src/rev/b3fa2dfae7e3
branches:  trunk
changeset: 820479:b3fa2dfae7e3
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 15:32:46 2017 +0000

description:
PR/51812: Ngie Cooper: According to ToG gettimeofday() needs <sys/time.h>

diffstat:

 tests/lib/libc/gen/t_time.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d8a7d7ddd8fe -r b3fa2dfae7e3 tests/lib/libc/gen/t_time.c
--- a/tests/lib/libc/gen/t_time.c       Tue Jan 10 15:31:11 2017 +0000
+++ b/tests/lib/libc/gen/t_time.c       Tue Jan 10 15:32:46 2017 +0000
@@ -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 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>
+#include <sys/time.h>
 #include <unistd.h>
 
 ATF_TC(time_copy);



Home | Main Index | Thread Index | Old Index