summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShapeSource.mm
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-12-19 00:24:20 -0800
committerMinh Nguyễn <mxn@1ec5.org>2016-12-23 15:17:03 -0800
commita66b1f7599bba67dce669b000a7d37d61010377f (patch)
treec9e39c09c8f80ebf02a059aa390ac0128e3f835e /platform/darwin/src/MGLShapeSource.mm
parentb134215895af5c2b94bb966e5b3f234679661c21 (diff)
downloadqtlocation-mapboxgl-a66b1f7599bba67dce669b000a7d37d61010377f.tar.gz
[ios, macos] Fixed iosbench build
Fixed a stale include in iosbench. MGLMapView(Private) forward-declares mbgl::Map instead of including mbgl.hpp, which iosbench has no access to.
Diffstat (limited to 'platform/darwin/src/MGLShapeSource.mm')
-rw-r--r--platform/darwin/src/MGLShapeSource.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLShapeSource.mm b/platform/darwin/src/MGLShapeSource.mm
index d062e656c2..0647236e80 100644
--- a/platform/darwin/src/MGLShapeSource.mm
+++ b/platform/darwin/src/MGLShapeSource.mm
@@ -7,6 +7,7 @@
#import "NSURL+MGLAdditions.h"
+#include <mbgl/mbgl.hpp>
#include <mbgl/style/sources/geojson_source.hpp>
const MGLShapeSourceOption MGLShapeSourceOptionClustered = @"MGLShapeSourceOptionClustered";