summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/cochran.c1
-rw-r--r--core/dive.h1
-rw-r--r--core/git-access.c1
-rw-r--r--core/libdivecomputer.c1
4 files changed, 3 insertions, 1 deletions
diff --git a/core/cochran.c b/core/cochran.c
index 5f7955fa5..e46f95b35 100644
--- a/core/cochran.c
+++ b/core/cochran.c
@@ -16,6 +16,7 @@
#include "dive.h"
#include "file.h"
#include "units.h"
+#include "sha1.h"
#include "gettext.h"
#include "cochran.h"
#include "divelist.h"
diff --git a/core/dive.h b/core/dive.h
index 03d6fc2df..4760305ed 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -18,7 +18,6 @@
#include <libxslt/transform.h>
#include <libxslt/xsltutils.h>
-#include "sha1.h"
#include "units.h"
#ifdef __cplusplus
diff --git a/core/git-access.c b/core/git-access.c
index 38fba9a5f..f4f040ab9 100644
--- a/core/git-access.c
+++ b/core/git-access.c
@@ -24,6 +24,7 @@
#include "qthelper.h"
#include "git-access.h"
#include "gettext.h"
+#include "sha1.h"
bool is_subsurface_cloud = false;
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c
index e391bcbfb..9a2991bc3 100644
--- a/core/libdivecomputer.c
+++ b/core/libdivecomputer.c
@@ -19,6 +19,7 @@
#include "device.h"
#include "divelist.h"
#include "display.h"
+#include "sha1.h"
#include <libdivecomputer/version.h>
#include <libdivecomputer/usbhid.h>