summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/importgps.cpp2
-rw-r--r--desktop-widgets/templatelayout.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/importgps.cpp b/desktop-widgets/importgps.cpp
index 6e36c548a..fa2529883 100644
--- a/desktop-widgets/importgps.cpp
+++ b/desktop-widgets/importgps.cpp
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "desktop-widgets/importgps.h"
+#include "core/dive.h" // for utc_mkdate()
/* Import dive coordinates from a GPS device and synchronise them with the dive profile information
of a dive computer. This file contains the infrastructure to:
@@ -152,4 +153,3 @@ void ImportGPS::timeZoneEditChanged()
getCoordsFromGPXFile(&coords, fileName);
updateUI();
}
-
diff --git a/desktop-widgets/templatelayout.cpp b/desktop-widgets/templatelayout.cpp
index 55aabe706..633d4569c 100644
--- a/desktop-widgets/templatelayout.cpp
+++ b/desktop-widgets/templatelayout.cpp
@@ -4,6 +4,7 @@
#include <list>
#include "templatelayout.h"
+#include "core/divelist.h"
#include "core/selection.h"
QList<QString> grantlee_templates, grantlee_statistics_templates;