Add missing sys/time.h #include for timespecsub macro in lib/libnetbsd/sys/time.h
This commit is contained in:
parent
f1c54c1af6
commit
a20294deef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274577
@ -40,6 +40,10 @@ __RCSID("$NetBSD: t_condwait.c,v 1.4 2013/04/12 17:18:11 christos Exp $");
|
||||
|
||||
#include "isqemu.h"
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define WAITTIME 2 /* Timeout wait secound */
|
||||
|
||||
static const int debug = 1;
|
||||
|
@ -46,6 +46,10 @@ static int x;
|
||||
|
||||
#define NTHREADS 25
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
static void
|
||||
ofunc(void)
|
||||
{
|
||||
|
@ -111,6 +111,10 @@ __RCSID("$NetBSD: t_sem.c,v 1.8 2014/11/04 00:20:19 justin Exp $");
|
||||
|
||||
static sem_t sem;
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
ATF_TC(named);
|
||||
ATF_TC_HEAD(named, tc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user