diff options
author | Elliott Hughes <enh@google.com> | 2014-12-01 16:43:51 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-12-01 16:43:51 -0800 |
commit | 212e0e38248860b151b28877225629a988d95b58 (patch) | |
tree | f43f3b8bc2472d2584750052171a0d6da5277e25 /benchmarks/time_benchmark.cpp | |
parent | 076f69d828cfa5d30360e1dd2f24acd751d4a461 (diff) | |
download | bionic-212e0e38248860b151b28877225629a988d95b58.tar.gz |
Build our benchmarks against glibc too.
Bug: 18556607
Change-Id: I455ac8b93c0835836180e549486bc52d393ee6a6
Diffstat (limited to 'benchmarks/time_benchmark.cpp')
-rw-r--r-- | benchmarks/time_benchmark.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/time_benchmark.cpp b/benchmarks/time_benchmark.cpp index 22f6e8ea0..f093ec19f 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) { |