svn commit: r272902 - head/contrib/netbsd-tests/lib/libc/gen

Garrett Cooper ngie at FreeBSD.org
Fri Oct 10 18:59:19 UTC 2014


Author: ngie
Date: Fri Oct 10 18:59:18 2014
New Revision: 272902
URL: https://svnweb.freebsd.org/changeset/base/272902

Log:
  Add missing #include <sys/time.h> for gettimeofday
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/contrib/netbsd-tests/lib/libc/gen/t_time.c

Modified: head/contrib/netbsd-tests/lib/libc/gen/t_time.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/gen/t_time.c	Fri Oct 10 18:57:39 2014	(r272901)
+++ head/contrib/netbsd-tests/lib/libc/gen/t_time.c	Fri Oct 10 18:59:18 2014	(r272902)
@@ -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>


More information about the svn-src-all mailing list