aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/wrk
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2015-05-24 23:47:56 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2015-05-24 23:47:56 +0000
commit41f5c927c60a2f8ccd662bca17a45832a49f9a47 (patch)
treebcd45eb96f24818b03e9bfe20ce118951f730c41 /benchmarks/wrk
parentb6c9d825bedb124f657f0de519177b5f39a70316 (diff)
downloadports-41f5c927c60a2f8ccd662bca17a45832a49f9a47.tar.gz
ports-41f5c927c60a2f8ccd662bca17a45832a49f9a47.zip
Notes
Diffstat (limited to 'benchmarks/wrk')
-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>
+