openbsd-ports/benchmarks/randread/patches/patch-filelist_c
naddy 887be1494f Import randread 0.2.
Submitted by Xavier Santolaria <xavier@santolaria.net>.

Randread is a small, simple benchmark program that reads or writes
randomly chosen blocks or lengths of blocks from a file or raw disk
partition. This can be used to test both random and sequential read and
write performance.
2003-07-04 15:30:53 +00:00

12 lines
296 B
Plaintext

$OpenBSD: patch-filelist_c,v 1.1.1.1 2003/07/04 15:30:53 naddy Exp $
--- filelist.c.orig Wed Sep 11 07:15:12 2002
+++ filelist.c Tue Jul 1 16:37:22 2003
@@ -7,6 +7,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>