summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-07 11:47:48 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-07 21:41:22 -0700
commitfa69a1b7d5655cef790f4bf78f43d322ba78e3d3 (patch)
tree9004394c20b9732b74fc24622cb9dc9cabad2035 /libdivecomputer.h
parentfe8605ed5b31d6dc6be485e3c58006410667c26d (diff)
downloadsubsurface-fa69a1b7d5655cef790f4bf78f43d322ba78e3d3.tar.gz
Allow to compile Subsurface with upstream libdivecomputer
This will create an inconsistent build that has some UI features implying BT support but those will be non-functional. I don't think this is the right thing to do - either fail to build with a decent message or really remove the BT support. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r--libdivecomputer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h
index 649d89847..911b7d0cd 100644
--- a/libdivecomputer.h
+++ b/libdivecomputer.h
@@ -53,7 +53,10 @@ extern const char *progress_bar_text;
extern double progress_bar_fraction;
extern char *logfile_name;
extern char *dumpfile_name;
+
+#if SSRF_CUSTOM_SERIAL
extern dc_status_t dc_serial_qt_open(dc_serial_t **out, dc_context_t *context, const char *devaddr);
+#endif
#ifdef __cplusplus
}