aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/wrk/files/patch-src-stats.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/benchmarks/wrk/files/patch-src-stats.h b/benchmarks/wrk/files/patch-src-stats.h
new file mode 100644
index 000000000000..57c543c609e8
--- /dev/null
+++ b/benchmarks/wrk/files/patch-src-stats.h
@@ -0,0 +1,14 @@
+--- src/stats.h.orig 2015-05-25 02:43:07.925981000 +0300
++++ src/stats.h 2015-05-25 02:43:18.075337000 +0300
+@@ -1,6 +1,11 @@
+ #ifndef STATS_H
+ #define STATS_H
+
++#if defined(__FreeBSD__)
++#include <sys/types.h>
++#include <machine/atomic.h>
++#endif /* defined(__FreeBSD__) */
++
+ #include <stdbool.h>
+ #include <stdint.h>
+