aboutsummaryrefslogtreecommitdiffstats
path: root/core/serial_ftdi.c
diff options
context:
space:
mode:
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>