packages/utils/bossa/patches/902-musl_fd.patch
Nick Hainke 5dd6c8ad46 bossa: add bossa
Based on the work of Hirokazu MORIKAWA (nxhack):
https://github.com/nxhack/openwrt-arduino-packages/tree/master/bossa

BOSSA is a flash programming utility for Atmel's SAM family of
flash-based ARM microcontrollers. The motivation behind BOSSA is to
create a simple, easy-to-use, open source utility to replace Atmel's
SAM-BA software.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-10-23 20:52:30 -10:00

12 lines
193 B
Diff

--- 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