[Toybox] [PATCH] Fix portability towards musl by including string.h.

kroovy me at kroovy.de
Wed Aug 12 21:55:21 UTC 2026


Signed-off-by: kroovy <me at kroovy.de>
---
 lib/portability.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/portability.h b/lib/portability.h
index fa497c19..b4076e5a 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -26,6 +26,7 @@
 // For musl
 #define _ALL_SOURCE
 #include <regex.h>
+#include <string.h>
 #ifndef REG_STARTEND
 #define REG_STARTEND 0
 #endif
-- 
2.55.0



More information about the Toybox mailing list