Add missing #include <sys/time.h> for gettimeofday

Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-10 18:59:18 +00:00
parent 6cf117d780
commit e6a6a5c5d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272902

View File

@ -31,6 +31,9 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_time.c,v 1.2 2011/11/11 05:03:38 jruoho Exp $");
#if defined(__FreeBSD__)
#include <sys/time.h>
#endif
#include <atf-c.h>
#include <errno.h>
#include <inttypes.h>