diff options
author | Jef Driesen <jef@libdivecomputer.org> | 2017-04-13 23:55:32 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-04-13 18:02:39 -0700 |
commit | 241bd9aa1500636cf6e754c5ba538985e51abbb8 (patch) | |
tree | 9589b1b078493f8fbb24127817ccb855585e5dee /core/libdivecomputer.h | |
parent | 71191f1294abdfcb40720707e4722173b62fdfac (diff) | |
download | subsurface-241bd9aa1500636cf6e754c5ba538985e51abbb8.tar.gz |
Fix building against upstream libdivecomputer
The custom_serial.h header doesn't exist in upstream libdivecomputer.
Signed-off-by: Jef Driesen <jef@libdivecomputer.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r-- | core/libdivecomputer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h index aba972d28..b8f69282a 100644 --- a/core/libdivecomputer.h +++ b/core/libdivecomputer.h @@ -10,7 +10,9 @@ #include <libdivecomputer/version.h> #include <libdivecomputer/device.h> #include <libdivecomputer/parser.h> +#ifdef SSRF_CUSTOM_SERIAL #include <libdivecomputer/custom_serial.h> +#endif #include "dive.h" |