freebsd-ports/benchmarks/iozone/files/patch-iozone.c
Frederic Culot 185bcb3fb6 - Update to 3.370
PR:		ports/153330
Submitted by:	Hsin-Han You <hhyou at cs.nctu.edu.tw>
Approved by:	sahil@/wen@ (mentors, implicit), Chifeng Qu <chifeng at gmail.com> (maintainer)
2010-12-22 18:10:11 +00:00

11 lines
384 B
C

--- 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 */