summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-08-03 15:01:35 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-08-04 14:08:19 +0200
commit78ec33320ff5837f23e85e336716692f63fd0254 (patch)
treede48fe425d31e2378cc02544d97e981600c4dc61 /linux
parentab7456075c7744c8528c2b86cfa77f80d6a04ef1 (diff)
downloadqtlocation-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 'linux')
-rw-r--r--linux/main.cpp2
-rw-r--r--linux/mapboxgl-app.gypi1
2 files changed, 3 insertions, 0 deletions
diff --git a/linux/main.cpp b/linux/main.cpp
index 9145b180f4..9acbbb659f 100644
--- a/linux/main.cpp
+++ b/linux/main.cpp
@@ -12,6 +12,8 @@
#include <getopt.h>
#include <fstream>
#include <sstream>
+#include <cstdlib>
+#include <cstdio>
namespace {
diff --git a/linux/mapboxgl-app.gypi b/linux/mapboxgl-app.gypi
index 35ca322e29..3d43da3847 100644
--- a/linux/mapboxgl-app.gypi
+++ b/linux/mapboxgl-app.gypi
@@ -29,6 +29,7 @@
'variables' : {
'cflags_cc': [
+ '<@(boost_cflags)',
'<@(glfw3_cflags)',
],
'ldflags': [