diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2004-12-29 01:57:28 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-12-29 01:57:28 +0000 |
commit | c402284b4c91472b5b57a64aaa30bf130cf09fe1 (patch) | |
tree | c23bc3bf8e6365cc2512bc5668f067e988c45c6b /benchmarks | |
parent | 5fb1a4c0bf987b83b0b0cc77d40ac2e8780f01d3 (diff) | |
download | ports-c402284b4c91472b5b57a64aaa30bf130cf09fe1.tar.gz ports-c402284b4c91472b5b57a64aaa30bf130cf09fe1.zip |
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/raidtest/files/raidtest.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmarks/raidtest/files/raidtest.c b/benchmarks/raidtest/files/raidtest.c index 2c877f9a45ec..42bb200e884c 100644 --- a/benchmarks/raidtest/files/raidtest.c +++ b/benchmarks/raidtest/files/raidtest.c @@ -27,6 +27,7 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include <sys/param.h> #include <sys/types.h> #include <stdio.h> #include <stdlib.h> @@ -43,6 +44,12 @@ __FBSDID("$FreeBSD$"); #include <sys/time.h> #include <sys/wait.h> +#if __FreeBSD_version < 500028 +#warning FreeBSD 4.x +typedef u_quad_t uintmax_t; +typedef quad_t intmax_t; +#define strtoumax strtouq +#endif #define DEFAULT_DATA_FILE "raidtest.data" #define MAX_IO_LENGTH 131072 |