aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/smhasher/files/patch-Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/smhasher/files/patch-Platform.h')
-rw-r--r--benchmarks/smhasher/files/patch-Platform.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/benchmarks/smhasher/files/patch-Platform.h b/benchmarks/smhasher/files/patch-Platform.h
new file mode 100644
index 000000000000..fcbce0b38a5b
--- /dev/null
+++ b/benchmarks/smhasher/files/patch-Platform.h
@@ -0,0 +1,12 @@
+--- Platform.h.orig 2014-04-22 21:40:50 UTC
++++ Platform.h
+@@ -39,6 +39,9 @@ void SetAffinity ( int cpu );
+ #else // defined(_MSC_VER)
+
+ #include <stdint.h>
++#if defined(__FreeBSD__)
++#include <stdlib.h>
++#endif
+
+ #define FORCE_INLINE inline __attribute__((always_inline))
+ #define NEVER_INLINE __attribute__((noinline))