summaryrefslogtreecommitdiff
path: root/src/mbgl/util/stopwatch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/stopwatch.hpp')
-rw-r--r--src/mbgl/util/stopwatch.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/util/stopwatch.hpp b/src/mbgl/util/stopwatch.hpp
index 0c91342a57..daa313f702 100644
--- a/src/mbgl/util/stopwatch.hpp
+++ b/src/mbgl/util/stopwatch.hpp
@@ -4,7 +4,10 @@
#include <mbgl/util/chrono.hpp>
#include <string>
+
+#ifdef MBGL_TIMING
#include <sstream>
+#endif
namespace mbgl {
namespace util {