summaryrefslogtreecommitdiffstats
path: root/core/serial_ftdi.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-12 16:14:14 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-12 21:16:19 -0800
commitc12e14a61d68682e150f6905b46a90ff0e3e9f00 (patch)
tree095e08b18d98dbba25d4686128e737d643a2cd5e /core/serial_ftdi.c
parent4ac5b9c9654e6d561c05451888f337de2d1b7cf7 (diff)
downloadsubsurface-c12e14a61d68682e150f6905b46a90ff0e3e9f00.tar.gz
Update to the latest libdc version
This gets us the first merge with the upstream iostream implementation. This requires a small change for serial_ftdi.c to build. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/serial_ftdi.c')
-rw-r--r--core/serial_ftdi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/serial_ftdi.c b/core/serial_ftdi.c
index bfa23b814..6471c2f0d 100644
--- a/core/serial_ftdi.c
+++ b/core/serial_ftdi.c
@@ -43,6 +43,7 @@
//#define SYSERROR(context, errcode) ERROR(__FILE__ ":" __LINE__ ": %s", strerror(errcode))
#define SYSERROR(context, errcode) ;
+#include "libdivecomputer.h"
#include <libdivecomputer/custom_io.h>
#include <libdivecomputer/context.h>