freebsd-ports/benchmarks/iorate/files/patch-ior__rand.c
Kurt Jaeger c0189bbe10 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)
2016-09-10 19:20:44 +00:00

10 lines
265 B
C

--- 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