aboutsummaryrefslogtreecommitdiff
path: root/utils/bossa/patches/902-musl_fd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'utils/bossa/patches/902-musl_fd.patch')
-rw-r--r--utils/bossa/patches/902-musl_fd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/bossa/patches/902-musl_fd.patch b/utils/bossa/patches/902-musl_fd.patch
new file mode 100644
index 000000000..7ca1b2865
--- /dev/null
+++ b/utils/bossa/patches/902-musl_fd.patch
@@ -0,0 +1,12 @@
+--- a/src/PosixSerialPort.cpp
++++ b/src/PosixSerialPort.cpp
+@@ -39,6 +39,9 @@
+
+ #include <string>
+
++/* __MUSL__ */
++#include <sys/select.h>
++
+ #ifndef B460800
+ #define B460800 460800
+ #endif