aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/iozone/files
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2010-12-22 18:10:11 +0000
committerFrederic Culot <culot@FreeBSD.org>2010-12-22 18:10:11 +0000
commit185bcb3fb682bd3373d816724487170c90208782 (patch)
tree18614897f7a1fa24475e15cef513bc731098b947 /benchmarks/iozone/files
parent6c36f8a9a0bc480d25c96942d8e3d59089f36e02 (diff)
downloadports-185bcb3fb682bd3373d816724487170c90208782.tar.gz
ports-185bcb3fb682bd3373d816724487170c90208782.zip
Notes
Diffstat (limited to 'benchmarks/iozone/files')
-rw-r--r--benchmarks/iozone/files/patch-iozone.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/iozone/files/patch-iozone.c b/benchmarks/iozone/files/patch-iozone.c
new file mode 100644
index 000000000000..f9acbf20f0f5
--- /dev/null
+++ b/benchmarks/iozone/files/patch-iozone.c
@@ -0,0 +1,11 @@
+--- iozone.c.orig 2010-12-21 14:15:01.000000000 +0800
++++ iozone.c 2010-12-21 14:15:16.000000000 +0800
+@@ -70,7 +70,7 @@
+ #include <Windows.h>
+ int errno;
+ #else
+-#if defined(linux) || defined(solaris) || defined(macosx)
++#if defined(linux) || defined(solaris) || defined(macosx) || defined(FreeBSD)
+ #include <errno.h>
+ #else
+ extern int errno; /* imported for errors */