diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-08-03 15:01:35 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-08-04 14:08:19 +0200 |
commit | 78ec33320ff5837f23e85e336716692f63fd0254 (patch) | |
tree | de48fe425d31e2378cc02544d97e981600c4dc61 /src/mbgl/util/io.cpp | |
parent | ab7456075c7744c8528c2b86cfa77f80d6a04ef1 (diff) | |
download | qtlocation-mapboxgl-78ec33320ff5837f23e85e336716692f63fd0254.tar.gz |
don't use certain STL functions
some functions defined in <cmath>, as well as std::to_string aren't available on GNU's STL for some platforms, e.g. Android
Diffstat (limited to 'src/mbgl/util/io.cpp')
-rw-r--r-- | src/mbgl/util/io.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/util/io.cpp b/src/mbgl/util/io.cpp index bb4c3595c3..0f7ce0e55d 100644 --- a/src/mbgl/util/io.cpp +++ b/src/mbgl/util/io.cpp @@ -1,6 +1,7 @@ #include <mbgl/util/io.hpp> #include <cstdio> +#include <cerrno> #include <iostream> #include <sstream> #include <fstream> |