From a23f57c8caefa2336d643ea124f0ba168cc715c9 Mon Sep 17 00:00:00 2001 From: mtehver Date: Thu, 3 Mar 2022 10:55:23 +0200 Subject: [PATCH] Fix lite-profile compilation regression --- all/native/datasources/PersistentCacheTileDataSource.cpp | 7 ++++--- all/native/datasources/PersistentCacheTileDataSource.h | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/all/native/datasources/PersistentCacheTileDataSource.cpp b/all/native/datasources/PersistentCacheTileDataSource.cpp index 7d833e9ab..4251184e8 100644 --- a/all/native/datasources/PersistentCacheTileDataSource.cpp +++ b/all/native/datasources/PersistentCacheTileDataSource.cpp @@ -1,12 +1,11 @@ +#ifdef _CARTO_OFFLINE_SUPPORT + #include "PersistentCacheTileDataSource.h" #include "core/BinaryData.h" #include "datasources/TileDownloadListener.h" #include "utils/Log.h" #include "utils/TileUtils.h" -#include -#include - #include namespace carto { @@ -434,3 +433,5 @@ namespace carto { const unsigned int PersistentCacheTileDataSource::EXTRA_TILE_FOOTPRINT = 1024; } + +#endif diff --git a/all/native/datasources/PersistentCacheTileDataSource.h b/all/native/datasources/PersistentCacheTileDataSource.h index e81b6f088..da0029cb1 100644 --- a/all/native/datasources/PersistentCacheTileDataSource.h +++ b/all/native/datasources/PersistentCacheTileDataSource.h @@ -14,6 +14,8 @@ #include "components/DirectorPtr.h" #include "datasources/CacheTileDataSource.h" +#include +#include #include #include