diff options
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r-- | libdivecomputer.h | 3 |
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 } |