summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--backend-shared/exportfuncs.cpp1
-rw-r--r--commands/command.h1
-rw-r--r--core/dive.h2
-rw-r--r--core/equipment.c1
4 files changed, 3 insertions, 2 deletions
diff --git a/backend-shared/exportfuncs.cpp b/backend-shared/exportfuncs.cpp
index 469e078a4..24f133377 100644
--- a/backend-shared/exportfuncs.cpp
+++ b/backend-shared/exportfuncs.cpp
@@ -13,6 +13,7 @@
#include "core/divefilter.h"
#include "core/divesite.h"
#include "core/picture.h"
+#include "core/pref.h"
#include "core/sample.h"
#include "exportfuncs.h"
diff --git a/commands/command.h b/commands/command.h
index a18fc5dd6..bb6edcd81 100644
--- a/commands/command.h
+++ b/commands/command.h
@@ -4,6 +4,7 @@
#include "core/dive.h"
#include "core/pictureobj.h"
+#include "core/taxonomy.h"
#include <QVector>
#include <QAction>
#include <vector>
diff --git a/core/dive.h b/core/dive.h
index 80fde1356..40298d85e 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -233,6 +233,4 @@ Q_DECLARE_METATYPE(struct dive *);
#endif
-#include "pref.h"
-
#endif // DIVE_H
diff --git a/core/equipment.c b/core/equipment.c
index 323bab3d8..2fab787eb 100644
--- a/core/equipment.c
+++ b/core/equipment.c
@@ -16,6 +16,7 @@
#include "dive.h"
#include "display.h"
#include "divelist.h"
+#include "pref.h"
#include "subsurface-string.h"
#include "table.h"