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>2011-05-07 02:48:28 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:17:03 +0300
commit63e3f9ab467413fd64865cfd48a3c9478df196aa (patch)
treed67ead54f09e8392e2632947ece34b3a1280f742 /platform
parentc399e6d9fe8e827e24dcdc4d270e7dc9e686df9f (diff)
[msvc] Compilation fixes.
Diffstat (limited to 'platform')
-rw-r--r--platform/location_manager.cpp2
-rw-r--r--platform/wifi_location_service.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/platform/location_manager.cpp b/platform/location_manager.cpp
index f85e47c1a3..969242d848 100644
--- a/platform/location_manager.cpp
+++ b/platform/location_manager.cpp
@@ -3,6 +3,8 @@
#include "../std/target_os.hpp"
#include "../std/vector.hpp"
#include "../std/bind.hpp"
+#include "../std/ctime.hpp"
+
double ApproxDistanceSquareInMetres(double lat1, double lon1, double lat2, double lon2)
{
diff --git a/platform/wifi_location_service.cpp b/platform/wifi_location_service.cpp
index 1befdd6c72..700d33d62d 100644
--- a/platform/wifi_location_service.cpp
+++ b/platform/wifi_location_service.cpp
@@ -5,11 +5,13 @@
#include "../base/logging.hpp"
#include "../std/bind.hpp"
+#include "../std/ctime.hpp"
#include "../3party/jansson/myjansson.hpp"
#define MWM_GEOLOCATION_SERVER "http://geolocation.server/"
+
namespace location
{
class WiFiLocationService : public LocationService