opnsense-ports/benchmarks/iozone/files/patch-libbif.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
359 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(IOZ_macosx)
+#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) || defined(__FreeBSD__)
#include <unistd.h>
#include <stdlib.h>
#endif