Date: Sat, 10 Sep 2016 19:20:45 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421728 - head/benchmarks/iorate/files Message-ID: <201609101920.u8AJKjnY081189@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Sat Sep 10 19:20:44 2016 New Revision: 421728 URL: https://svnweb.freebsd.org/changeset/ports/421728 Log: benchmarks/iorate: implicit decl. of function 'gettimeofday' is invalid in C99 PR: 210856 Reported by: Mark Millard <markmi@dsl-only.net> Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Approved by: blttll@gmail.com (maintainer timeout) Added: head/benchmarks/iorate/files/patch-ior__rand.c (contents, props changed) Modified: head/benchmarks/iorate/files/patch-ior__mach.c Modified: head/benchmarks/iorate/files/patch-ior__mach.c ============================================================================== --- head/benchmarks/iorate/files/patch-ior__mach.c Sat Sep 10 19:10:08 2016 (r421727) +++ head/benchmarks/iorate/files/patch-ior__mach.c Sat Sep 10 19:20:44 2016 (r421728) @@ -1,5 +1,13 @@ --- ior_mach.c.orig 2011-11-03 15:27:58 UTC +++ ior_mach.c +@@ -41,6 +41,7 @@ static char rcsid[] = "$Header: /home/we + #include <time.h> + #include <sys/types.h> + #include <unistd.h> ++#include <sys/time.h> + + /* + * Solaris needs ior_mach.h to be after the above or @@ -411,6 +411,10 @@ int ior_dev_lock( ior_config *cfg, long }; Added: head/benchmarks/iorate/files/patch-ior__rand.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/benchmarks/iorate/files/patch-ior__rand.c Sat Sep 10 19:20:44 2016 (r421728) @@ -0,0 +1,10 @@ +--- ior_rand.c.orig 2016-08-02 17:15:56 UTC ++++ ior_rand.c +@@ -24,6 +24,7 @@ static char rcsid[] = "$Header: /home/we + #include <time.h> + #include <sys/types.h> + #include <unistd.h> ++#include <sys/time.h> + + /* + * Solaris needs ior_mach.h to be after the above or
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609101920.u8AJKjnY081189>