ports/misc/subsurface/patches/patch-libdivecomputer_src_serial_posix_c

11 lines
298 B
Text

Index: libdivecomputer/src/serial_posix.c
--- libdivecomputer/src/serial_posix.c.orig
+++ libdivecomputer/src/serial_posix.c
@@ -23,6 +23,7 @@
#include "config.h"
#endif
+#include <sys/select.h>
#include <stdlib.h> // malloc, free
#include <string.h> // strerror
#include <errno.h> // errno