aboutsummaryrefslogtreecommitdiff
path: root/deskutils/subsurface/files/patch-core_parse-gpx.h
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/subsurface/files/patch-core_parse-gpx.h')
-rw-r--r--deskutils/subsurface/files/patch-core_parse-gpx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/deskutils/subsurface/files/patch-core_parse-gpx.h b/deskutils/subsurface/files/patch-core_parse-gpx.h
new file mode 100644
index 000000000000..9707991bca30
--- /dev/null
+++ b/deskutils/subsurface/files/patch-core_parse-gpx.h
@@ -0,0 +1,10 @@
+--- core/parse-gpx.h.orig 2022-12-19 05:04:53 UTC
++++ core/parse-gpx.h
+@@ -3,6 +3,7 @@
+ #define PARSE_GPX_H
+
+ #include <QString>
++#include <time.h>
+
+ struct dive_coords { // This structure holds important information after parsing the GPX file:
+ time_t start_dive; // Start time of the current dive, obtained using current_dive (local time)