diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-07-24 15:36:02 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-07-26 18:51:11 +0300 |
commit | acd95c325afaf09976400d86733d26b83f28542f (patch) | |
tree | 033ae91c626ffc99bc0527fd5878fed484016131 /src/mbgl/util | |
parent | cb5f498dfeb0ec0ef86ac027b29cce6f2037fd3e (diff) | |
download | qtlocation-mapboxgl-acd95c325afaf09976400d86733d26b83f28542f.tar.gz |
[core] Fix issues with the std:: namespace and old compilers
Specifically when building Android with GCC 4.9 (which Qt still does :-/)
Diffstat (limited to 'src/mbgl/util')
-rw-r--r-- | src/mbgl/util/dtoa.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/util/http_header.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/util/dtoa.cpp b/src/mbgl/util/dtoa.cpp index 6ca3e19c3d..0e3aef6117 100644 --- a/src/mbgl/util/dtoa.cpp +++ b/src/mbgl/util/dtoa.cpp @@ -6,6 +6,8 @@ #include <rapidjson/internal/dtoa.h> #endif +#include <mbgl/util/string.hpp> + namespace mbgl { namespace util { diff --git a/src/mbgl/util/http_header.cpp b/src/mbgl/util/http_header.cpp index 40711232ff..ce31a06c5e 100644 --- a/src/mbgl/util/http_header.cpp +++ b/src/mbgl/util/http_header.cpp @@ -1,5 +1,7 @@ #include <mbgl/util/http_header.hpp> +#include <mbgl/util/string.hpp> + #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunknown-pragmas" #pragma GCC diagnostic ignored "-Wunused-parameter" |