Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2012-07-02 08:27:15 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:40:28 +0300
commitfbfc930cc3ded001e116ba79ac6aaf266d1cc748 (patch)
treeabf49a343b05b00bd29f5e7419720c63c5d645e9 /platform/platform_unix_impl.cpp
parent61db60cecf5695c97701b0f2e3c67ca933861506 (diff)
Fix compilation error.
Diffstat (limited to 'platform/platform_unix_impl.cpp')
-rw-r--r--platform/platform_unix_impl.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/platform/platform_unix_impl.cpp b/platform/platform_unix_impl.cpp
index 88d4e5257e..c7ebdf56e7 100644
--- a/platform/platform_unix_impl.cpp
+++ b/platform/platform_unix_impl.cpp
@@ -5,7 +5,12 @@
#include <dirent.h>
#include <sys/stat.h>
-#include <sys/vfs.h>
+
+#ifdef OMIM_OS_ANDROID
+ #include <sys/vfs.h>
+#else
+ #include <sys/mount.h>
+#endif
bool Platform::IsFileExistsByFullPath(string const & filePath)