summaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r--core/libdivecomputer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h
index b1714f2a1..050834195 100644
--- a/core/libdivecomputer.h
+++ b/core/libdivecomputer.h
@@ -12,6 +12,11 @@
#include <libdivecomputer/device.h>
#include <libdivecomputer/parser.h>
+// Even if we have an old libdivecomputer, Uemis uses this
+#ifndef DC_TRANSPORT_USBSTORAGE
+#define DC_TRANSPORT_USBSTORAGE (1 << 6)
+#endif
+
#include "dive.h"
#ifdef __cplusplus