summaryrefslogtreecommitdiffstats
path: root/benchmarks/time_benchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/time_benchmark.cpp')
-rw-r--r--benchmarks/time_benchmark.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/time_benchmark.cpp b/benchmarks/time_benchmark.cpp
index 22f6e8e..f093ec1 100644
--- a/benchmarks/time_benchmark.cpp
+++ b/benchmarks/time_benchmark.cpp
@@ -16,7 +16,9 @@
#include "benchmark.h"
+#include <unistd.h>
#include <sys/syscall.h>
+#include <sys/time.h>
#include <time.h>
static void BM_time_clock_gettime(int iters) {