ports/benchmarks/iozone/files/patch-libbif.c
Ruslan Makhmatkhanov 83bc131ec1 - add couple of patches to fix build warnings
- do not bumping PORTREVISION, because it's non-functional change

PR:     167943
Submitted by:	Garrett Cooper <yanegomi at gmail dot com>
Approved by:	chifeng <chifeng at gmail dot com> (maintainer)
2012-06-19 17:43:25 +00:00

11 lines
351 B
C

--- libbif.c 2012-05-14 23:13:03.000000000 -0700
+++ libbif.c 2012-05-14 23:13:42.000000000 -0700
@@ -27,7 +27,7 @@
#include <string.h>
#endif
-#if defined(linux) || defined(__DragonFly__) || defined(macosx)
+#if defined(linux) || defined(__DragonFly__) || defined(macosx) || defined(__FreeBSD__)
#include <unistd.h>
#include <stdlib.h>
#endif