NetBSD-Bugs archive

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

Re: bin/51889: [PATCH] tests/lib/libpthread/t_sem: add sys/time.h #include



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

From: "Ngie Cooper (yaneurabeya)" <yaneurabeya%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/51889: [PATCH] tests/lib/libpthread/t_sem: add sys/time.h
 #include
Date: Sun, 15 Jan 2017 12:58:43 -0800

 --Apple-Mail=_40C400DB-11DB-4873-8598-09B23B48E07E
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 Patch attached.
 -Ngie
 
 --Apple-Mail=_40C400DB-11DB-4873-8598-09B23B48E07E
 Content-Disposition: attachment;
 	filename=libpthread-t_sem-add-sys-time_h.patch
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="libpthread-t_sem-add-sys-time_h.patch"
 Content-Transfer-Encoding: 7bit
 
 Index: lib/libpthread/t_sem.c
 ===================================================================
 RCS file: /cvsroot/src/tests/lib/libpthread/t_sem.c,v
 retrieving revision 1.8
 diff -u -r1.8 t_sem.c
 --- lib/libpthread/t_sem.c	4 Nov 2014 00:20:19 -0000	1.8
 +++ lib/libpthread/t_sem.c	15 Jan 2017 20:53:36 -0000
 @@ -88,6 +88,7 @@
   The NetBSD Foundation, inc. All rights reserved.");
  __RCSID("$NetBSD: t_sem.c,v 1.8 2014/11/04 00:20:19 justin Exp $");
  
 +#include <sys/time.h>
  #include <errno.h>
  #include <fcntl.h>
  #include <pthread.h>
 
 --Apple-Mail=_40C400DB-11DB-4873-8598-09B23B48E07E--
 


Home | Main Index | Thread Index | Old Index