This is an automated email from the ASF dual-hosted git repository.
kasjer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new ce3562ce2 tinyusb/msc_fat_view: Fix build for non baselibc
ce3562ce2 is described below
commit ce3562ce2e5ba825931a66e7d52603980ab433ae
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Tue May 26 08:58:04 2026 +0200
tinyusb/msc_fat_view: Fix build for non baselibc
Code was using memset withough including <string.h>
That does not work on non baselibc build.
Signed-off-by: Jerzy Kasenberg <[email protected]>
---
hw/usb/tinyusb/msc_fat_view/src/entry_huge_file.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/usb/tinyusb/msc_fat_view/src/entry_huge_file.c
b/hw/usb/tinyusb/msc_fat_view/src/entry_huge_file.c
index 867a66ace..371ebb532 100644
--- a/hw/usb/tinyusb/msc_fat_view/src/entry_huge_file.c
+++ b/hw/usb/tinyusb/msc_fat_view/src/entry_huge_file.c
@@ -18,6 +18,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <sysflash/sysflash.h>
#include <msc_fat_view/msc_fat_view.h>
#include <bootutil/image.h>