mirror of
https://github.com/google/benchmark.git
synced 2025-02-06 01:00:17 +08:00
Add missing <cerrno> header include - fixes Android build (#960)
* Add missing <cerrno> header This commit fixes a current build error on Android where 'errno' is an unidentified symbol due to a missing header * Update string_util.cc Conditionally adds <cerrno> if BENCHMARK_STL_ANDROID_GNUSTL is defined
This commit is contained in:
parent
ecc1685340
commit
56898e9a92
@ -1,6 +1,9 @@
|
||||
#include "string_util.h"
|
||||
|
||||
#include <array>
|
||||
#ifdef BENCHMARK_STL_ANDROID_GNUSTL
|
||||
#include <cerrno>
|
||||
#endif
|
||||
#include <cmath>
|
||||
#include <cstdarg>
|
||||
#include <cstdio>
|
||||
|
Loading…
Reference in New Issue
Block a user