NetBSD-Bugs archive

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

Re: bin/51811: [PATCH] tests/lib/libc/gen/t_sleep: add missing #includes



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

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51811: [PATCH] tests/lib/libc/gen/t_sleep: add missing
 #includes
Date: Tue, 10 Jan 2017 01:47:48 -0800

 --Apple-Mail=_30A0526E-E776-4AA3-ACFB-B2C63A52985E
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 
 --Apple-Mail=_30A0526E-E776-4AA3-ACFB-B2C63A52985E
 Content-Disposition: attachment;
 	filename=t_sleep-add-missing-includes.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="t_sleep-add-missing-includes.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: t_sleep.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libc/gen/t_sleep.c,v
 retrieving revision 1.9
 diff -u -r1.9 t_sleep.c
 --- t_sleep.c	11 Aug 2016 21:34:11 -0000	1.9
 +++ t_sleep.c	10 Jan 2017 09:38:52 -0000
 @@ -26,8 +26,10 @@
   * POSSIBILITY OF SUCH DAMAGE.
   */
  
 +#include <sys/time.h>
  #include <atf-c.h>
  #include <errno.h>
 +#include <inttypes.h>
  #include <poll.h>
  #include <stdio.h>
  #include <stdlib.h>
 
 --Apple-Mail=_30A0526E-E776-4AA3-ACFB-B2C63A52985E--
 


Home | Main Index | Thread Index | Old Index