aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/iozone/files/patch-iozone.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/iozone/files/patch-iozone.c')
-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 00000000000..f9acbf20f0f
--- /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 */