https://git.busybox.net/buildroot/tree/package/udpcast/0001-fix-musl-build.patch?id=8d7be66f70cccbaf61e5cb6b2414b9d9ce162f48 fix musl build Fix the following musl build failure: receivedata.c: In function 'findSlice': receivedata.c:348:2: error: unknown type name 'ptrdiff_t' 348 | ptrdiff_t pos = slice - clst->slices; | ^~~~~~~~~ receivedata.c:17:1: note: 'ptrdiff_t' is defined in header ''; did you forget to '#include '? 16 | #include "fec.h" +++ |+#include 17 | Fixes: - http://autobuild.buildroot.org/results/30208c6f175967fed6de690447a09e0c86547b24 Signed-off-by: Fabrice Fontaine [Upstream status: https://udpcast.linux.lu/mailman3/hyperkitty/list/udpcast@udpcast.linux.lu/thread/4MBES2CPUSUNIZTC7NXCQYS2GAE4DQSG/] --- a/receivedata.c +++ b/receivedata.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include