summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mainwindow.cpp1
-rw-r--r--desktop-widgets/subsurfacewebservices.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index de8ce9b0a..651d77053 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -20,6 +20,7 @@
#include "core/color.h"
#include "core/divecomputer.h"
#include "core/divesitehelpers.h"
+#include "core/file.h"
#include "core/gettextfromc.h"
#include "core/git-access.h"
#include "core/import-csv.h"
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp
index 87db7947c..e2c787990 100644
--- a/desktop-widgets/subsurfacewebservices.cpp
+++ b/desktop-widgets/subsurfacewebservices.cpp
@@ -7,11 +7,11 @@
#include "desktop-widgets/command.h"
#include "desktop-widgets/usersurvey.h"
#include "core/divelist.h"
+#include "core/file.h"
#include "desktop-widgets/mapwidget.h"
#include "desktop-widgets/tab-widgets/maintab.h"
#include "core/display.h"
#include "core/membuffer.h"
-#include <errno.h>
#include "core/cloudstorage.h"
#include "core/subsurface-string.h"
@@ -23,6 +23,7 @@
#include <qdesktopservices.h>
#include <QShortcut>
#include <QDebug>
+#include <errno.h>
#ifdef Q_OS_UNIX
#include <unistd.h> // for dup(2)