From 1910d6d54641e592f781406a955094e04d780f19 Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Wed, 17 Dec 2014 15:35:29 +0100 Subject: Fix compilation with upstream Marble is not availaible in all Marble versions. As Marble::MarbleDebug::setEnabled(verbose) is only used when MARBLE_SUBSURFACE_BRANCH is defined, also include header file only when MARBLE_SUBSURFACE_BRANCH is set. Signed-off-by: Guillaume GARDET Signed-off-by: Dirk Hohndel --- qt-ui/globe.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt-ui/globe.cpp b/qt-ui/globe.cpp index 0f17f32fa..bbdf19722 100644 --- a/qt-ui/globe.cpp +++ b/qt-ui/globe.cpp @@ -18,7 +18,9 @@ #include #include #include +#ifdef MARBLE_SUBSURFACE_BRANCH #include +#endif #if INCOMPLETE_MARBLE #include "marble/GeoDataTreeModel.h" #else -- cgit v1.2.3-70-g09d2