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



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