aboutsummaryrefslogtreecommitdiffstats
path: root/core/xmp_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/xmp_parser.cpp')
-rw-r--r--core/xmp_parser.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/xmp_parser.cpp b/core/xmp_parser.cpp
index 4ce6cef31..8d052b66f 100644
--- a/core/xmp_parser.cpp
+++ b/core/xmp_parser.cpp
@@ -1,12 +1,11 @@
#include "xmp_parser.h"
#include "subsurface-string.h"
+#include "subsurface-time.h"
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <cctype>
-extern "C" timestamp_t utc_mktime(struct tm *tm); // declared in core/dive.h
-
static timestamp_t parse_xmp_date(const char *date)
{
// Format: "yyyy-mm-dd[Thh:mm[:ss[.ms]][-05:00]]"