summaryrefslogtreecommitdiff
path: root/benchmarks/iozone/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/iozone/patches/patch-ab')
-rw-r--r--benchmarks/iozone/patches/patch-ab8
1 files changed, 5 insertions, 3 deletions
diff --git a/benchmarks/iozone/patches/patch-ab b/benchmarks/iozone/patches/patch-ab
index 86c637216b9..2074a6c2f25 100644
--- a/benchmarks/iozone/patches/patch-ab
+++ b/benchmarks/iozone/patches/patch-ab
@@ -1,4 +1,6 @@
-$NetBSD: patch-ab,v 1.11 2012/06/07 15:57:20 asau Exp $
+$NetBSD: patch-ab,v 1.12 2014/12/09 13:53:13 mef Exp $
+
+Add NetBSD, DragonFly, including correction of typo
--- iozone.c.orig 2012-05-10 05:14:12.000000000 +0000
+++ iozone.c
@@ -6,8 +8,8 @@ $NetBSD: patch-ab,v 1.11 2012/06/07 15:57:20 asau Exp $
#include <windows.h>
#include <errno.h>
#else
--#if defined(linux) || defined(solaris) || defined(macosx) || defined(__AIX__) || defined(FreeBSD) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__DragonFly__)
-+#if defined(linux) || defined(solaris) || defined(macosx) || defined(__AIX__) || defined(__FreeBSD__) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+-#if defined(linux) || defined(solaris) || defined(IOZ_macosx) || defined(__AIX__) || defined(FreeBSD) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__DragonFly__)
++#if defined(linux) || defined(solaris) || defined(IOZ_macosx) || defined(__AIX__) || defined(__FreeBSD__) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
#include <errno.h>
#else
extern int errno; /* imported for errors */