commit | 212e0e38248860b151b28877225629a988d95b58 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Dec 01 16:43:51 2014 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Dec 01 16:43:51 2014 -0800 |
tree | f43f3b8bc2472d2584750052171a0d6da5277e25 | |
parent | 076f69d828cfa5d30360e1dd2f24acd751d4a461 [diff] [blame] |
Build our benchmarks against glibc too. Bug: 18556607 Change-Id: I455ac8b93c0835836180e549486bc52d393ee6a6
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) {