[vbox-dev] NetBSD patch 0010: Handle NetBSD specific guard for <sys/time.h> (_SYS_TIME_H_)

Valery Ushakov uwe at stderr.spb.ru
Tue Aug 2 01:20:54 UTC 2016

Kamil Rytarowski <n54 at gmx.com> wrote:

> Handle NetBSD specific guard for <sys/time.h> (_SYS_TIME_H_)

Why do you only do that for timeval and not timespec just below?

I've committed the change for both but restricted the test to

 ... || (defined(RT_OS_NETBSD) && defined(_SYS_TIME_H_))

so that not to conflict e.g. with FreeBSD that uses the same include

Please, verify.


More information about the vbox-dev mailing list