Index: head/benchmarks/iorate/files/patch-ior__mach.c =================================================================== --- head/benchmarks/iorate/files/patch-ior__mach.c (revision 421727) +++ head/benchmarks/iorate/files/patch-ior__mach.c (revision 421728) @@ -1,40 +1,48 @@ --- 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 + #include + #include ++#include + + /* + * Solaris needs ior_mach.h to be after the above or @@ -411,6 +411,10 @@ int ior_dev_lock( ior_config *cfg, long }; #else +#if defined(IOR_LARGE_FILES) && defined(__FreeBSD__) +#define IOR_SET_LOCK_FLAG F_SETLK + struct flock d_lock; /* lock command to run */ +#else #ifdef IOR_LARGE_FILES #define IOR_SET_LOCK_FLAG F_SETLK64 struct flock64 d_lock; /* lock command to run */ @@ -418,6 +422,7 @@ int ior_dev_lock( ior_config *cfg, long #define IOR_SET_LOCK_FLAG F_SETLK struct flock d_lock; /* lock command to run */ #endif +#endif result = 0; /* all OK so far */ @@ -486,6 +491,10 @@ int ior_dev_unlock( ior_config *cfg, lon }; #else +#if defined(IOR_LARGE_FILES) && defined(__FreeBSD__) +#define IOR_SET_LOCK_FLAG F_SETLK + struct flock d_lock; /* lock command to run */ +#else #ifdef IOR_LARGE_FILES #define IOR_SET_LOCK_FLAG F_SETLK64 struct flock64 d_lock; /* lock command to run */ @@ -493,6 +502,7 @@ int ior_dev_unlock( ior_config *cfg, lon #define IOR_SET_LOCK_FLAG F_SETLK struct flock d_lock; /* lock command to run */ #endif +#endif result = 0; /* all OK so far */ Index: head/benchmarks/iorate/files/patch-ior__rand.c =================================================================== --- head/benchmarks/iorate/files/patch-ior__rand.c (nonexistent) +++ head/benchmarks/iorate/files/patch-ior__rand.c (revision 421728) @@ -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 + #include + #include ++#include + + /* + * Solaris needs ior_mach.h to be after the above or Property changes on: head/benchmarks/iorate/files/patch-ior__rand.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property