aboutsummaryrefslogtreecommitdiff
path: root/test/benchmark_test.cc
diff options
context:
space:
mode:
authorAnton Danielsson <anton.danielsson@dirac.se>2015-10-05 10:43:06 +0200
committerAnton Danielsson <anton.danielsson@dirac.se>2015-10-09 08:47:35 +0200
commitdf0df4aba9d5997cdcddcec351ed5b5af180bb88 (patch)
treeaa81ab0f74c183b74b8a85629e9657eca50a0d26 /test/benchmark_test.cc
parent0d35f5f68a545a1eddd36dab930c250765298e25 (diff)
downloadgoogle-benchmark-df0df4aba9d5997cdcddcec351ed5b5af180bb88.tar.gz
Fixed tests so they build on android.
- Added missing header to test/benchmark_test.cc - Changed std::stoul to std::atol in test/filter_test.cc because of a limitation in the android-ndk (http://stackoverflow.com/questions/17950814/how-to-use-stdstoul-and-stdstoull-in-android)
Diffstat (limited to 'test/benchmark_test.cc')
-rw-r--r--test/benchmark_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/benchmark_test.cc b/test/benchmark_test.cc
index 4c90398..093a935 100644
--- a/test/benchmark_test.cc
+++ b/test/benchmark_test.cc
@@ -13,6 +13,7 @@
#include <sstream>
#include <string>
#include <vector>
+#include <cstdlib>
#if defined(__GNUC__)
# define BENCHMARK_NOINLINE __attribute__((noinline))