--- /dev/null +++ b/benchmarks/iozone/files/patch-libasync.c @@ -1 +1,21 @@ +--- libasync.c 2012-05-14 23:13:13.000000000 -0700 ++++ libasync.c 2012-05-14 23:14:27.000000000 -0700 +@@ -109,7 +109,7 @@ + #include + #endif + +-#if defined(OSFV5) || defined(linux) ++#if defined(OSFV5) || defined(linux) || defined(__FreeBSD__) + #include + #endif + +@@ -119,7 +119,7 @@ + #include + #endif + +-#if ((defined(solaris) && defined(__LP64__)) || defined(__s390x__)) ++#if ((defined(solaris) && defined(__LP64__)) || defined(__s390x__)) || defined(__FreeBSD__) + /* If we are building for 64-bit Solaris, all functions that return pointers + * must be declared before they are used; otherwise the compiler will assume + * that they return ints and the top 32 bits of the pointer will be lost, --- /dev/null +++ b/benchmarks/iozone/files/patch-libbif.c @@ -1 +1,12 @@ +--- 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 + #endif + +-#if defined(linux) || defined(__DragonFly__) || defined(macosx) ++#if defined(linux) || defined(__DragonFly__) || defined(macosx) || defined(__FreeBSD__) + #include + #include + #endif