diff --git a/src/GUI/gui.cpp b/src/GUI/gui.cpp index 00367a55..a944ba63 100644 --- a/src/GUI/gui.cpp +++ b/src/GUI/gui.cpp @@ -54,8 +54,11 @@ #include "pathitem.h" #include "mapaction.h" #include "poiaction.h" -#include "navigationwidget.h" #include "gui.h" +#ifdef Q_OS_ANDROID +#include "common/util.h" +#include "navigationwidget.h" +#endif // Q_OS_ANDROID #define MAX_RECENT_FILES 10 diff --git a/src/GUI/mapitem.cpp b/src/GUI/mapitem.cpp index f395babf..fadbfba0 100644 --- a/src/GUI/mapitem.cpp +++ b/src/GUI/mapitem.cpp @@ -5,10 +5,10 @@ #include "map/map.h" #include "mapaction.h" #include "tooltip.h" +#include "mapitem.h" #ifdef Q_OS_ANDROID #include "popup.h" #endif // Q_OS_ANDROID -#include "mapitem.h" static void growLeft(Map *map, const Coordinates &c, QRectF &rect)