NetBSD-Bugs archive

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

Re: bin/51812: [PATCH] tests/lib/libc/gen/t_time: add missing #define for gettimeofday



The following reply was made to PR bin/51812; it has been noted by GNATS.

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51812: [PATCH] tests/lib/libc/gen/t_time: add missing #define
 for gettimeofday
Date: Tue, 10 Jan 2017 01:51:28 -0800

 --Apple-Mail=_58D2824B-D0C4-4E8D-8747-FE4523C65C78
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 
 --Apple-Mail=_58D2824B-D0C4-4E8D-8747-FE4523C65C78
 Content-Disposition: attachment;
 	filename=t_time-fix-missing-includes.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_time-fix-missing-includes.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: t_time.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/gen/t_time.c,v
 retrieving revision 1.3
 diff -u -p -r1.3 t_time.c
 --- t_time.c	31 Oct 2014 12:22:38 -0000	1.3
 +++ t_time.c	10 Jan 2017 09:51:09 -0000
 @@ -31,6 +31,7 @@
  #include <sys/cdefs.h>
  __RCSID("$NetBSD: t_time.c,v 1.3 2014/10/31 12:22:38 justin Exp $");
  
 +#include <sys/time.h>
  #include <atf-c.h>
  #include <errno.h>
  #include <inttypes.h>
 
 --Apple-Mail=_58D2824B-D0C4-4E8D-8747-FE4523C65C78--
 


Home | Main Index | Thread Index | Old Index