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: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
	yaneurabeya%gmail.com@localhost
Cc: 
Subject: Re: bin/51811: [PATCH] tests/lib/libc/gen/t_sleep: add missing #includes
Date: Tue, 10 Jan 2017 10:29:30 -0500

 On Jan 10,  9:50am, yaneurabeya%gmail.com@localhost ("Ngie Cooper (yaneurabeya)") wrote:
 -- Subject: Re: bin/51811: [PATCH] tests/lib/libc/gen/t_sleep: add missing #i
 
 |  +#include <sys/time.h>
 
 This includes <time.h>, so <sys/time.h> should not be needed. According
 to http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html
 this should include struct timespec etc, so I guess thisis missing
 TIMESPEC_TO_TIMEVAL which is included in <sys/timespec.h>...
 
 christos
 


Home | Main Index | Thread Index | Old Index