summaryrefslogtreecommitdiff
path: root/include/android
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-01-17 11:44:06 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-01-17 11:45:54 +0100
commite7544e2297a7411f5cf724d12566c6a1610866b6 (patch)
tree71b02f3adf6f14d76957a83441c30e4f42e3479c /include/android
parent5bc37875ac55ef85f84b1426e83cc0a5246dd90e (diff)
android: make compat header self-contained
Change-Id: I0362725646521c9e2126faeaaf35a1c1dbf775af
Diffstat (limited to 'include/android')
-rw-r--r--include/android/compatibility.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/android/compatibility.hxx b/include/android/compatibility.hxx
index d52d1bdb2455..0926358caf6f 100644
--- a/include/android/compatibility.hxx
+++ b/include/android/compatibility.hxx
@@ -20,6 +20,9 @@
#include <math.h>
#if defined(ANDROID)
+#include <string>
+#include <sstream>
+
namespace std
{
@@ -65,4 +68,4 @@ template <typename T> std::string to_string(const T& rNumber)
return aStream.str();
}
}
-#endif \ No newline at end of file
+#endif