diff options
author | vng <viktor.govako@gmail.com> | 2012-07-02 08:27:15 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:28 +0300 |
commit | fbfc930cc3ded001e116ba79ac6aaf266d1cc748 (patch) | |
tree | abf49a343b05b00bd29f5e7419720c63c5d645e9 /platform/platform_unix_impl.cpp | |
parent | 61db60cecf5695c97701b0f2e3c67ca933861506 (diff) |
Fix compilation error.
Diffstat (limited to 'platform/platform_unix_impl.cpp')
-rw-r--r-- | platform/platform_unix_impl.cpp | 7 |
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) |