From b6ca1fc1ff5265bb231d6f8534f643a2e86a5aa3 Mon Sep 17 00:00:00 2001 From: Ivaylo Ivanov Date: Wed, 27 May 2026 16:07:50 +0000 Subject: [PATCH] board: include string.h directly for boards that use its functions Several boards call readl()/writel() or use uint32_t but do not include (which is where unic declares these). They build today only because pulls in. The framework header has no business pulling string.h; Include it properly in case we remove framework.h later on (spoiler lol). --- board/amazon/board-pw3.c | 1 + board/google/board-taimen.c | 1 + board/itel/board-p682lpn.c | 1 + board/lenovo/board-tb373fu.c | 1 + board/nothing/board-tetris.c | 1 + board/samsung/board-g0s.c | 1 + board/samsung/board-j5lte.c | 1 + board/xiaomi/board-blossom.c | 1 + board/xiaomi/board-camellia.c | 1 + 9 files changed, 9 insertions(+) diff --git a/board/amazon/board-pw3.c b/board/amazon/board-pw3.c index 65c855f..7280034 100644 --- a/board/amazon/board-pw3.c +++ b/board/amazon/board-pw3.c @@ -4,6 +4,7 @@ */ #include +#include #include
#include diff --git a/board/google/board-taimen.c b/board/google/board-taimen.c index 1c715ea..868ec70 100644 --- a/board/google/board-taimen.c +++ b/board/google/board-taimen.c @@ -3,6 +3,7 @@ * Copyright (c) 2025, Ivaylo Ivanov */ #include +#include #include #include diff --git a/board/itel/board-p682lpn.c b/board/itel/board-p682lpn.c index 0fcc9ec..35ca6ea 100644 --- a/board/itel/board-p682lpn.c +++ b/board/itel/board-p682lpn.c @@ -4,6 +4,7 @@ */ #include +#include #include #include diff --git a/board/lenovo/board-tb373fu.c b/board/lenovo/board-tb373fu.c index 0ab0ea5..f287f99 100644 --- a/board/lenovo/board-tb373fu.c +++ b/board/lenovo/board-tb373fu.c @@ -4,6 +4,7 @@ */ #include +#include #include #include #include diff --git a/board/nothing/board-tetris.c b/board/nothing/board-tetris.c index c2ded2e..7446d22 100644 --- a/board/nothing/board-tetris.c +++ b/board/nothing/board-tetris.c @@ -3,6 +3,7 @@ * Copyright (c) 2025, Igor Belwon */ #include +#include #include #include diff --git a/board/samsung/board-g0s.c b/board/samsung/board-g0s.c index 33a2c71..4ec868a 100755 --- a/board/samsung/board-g0s.c +++ b/board/samsung/board-g0s.c @@ -3,6 +3,7 @@ * Copyright (c) 2025, Ivaylo Ivanov */ #include +#include #include #include #include diff --git a/board/samsung/board-j5lte.c b/board/samsung/board-j5lte.c index 5331d69..7103df2 100644 --- a/board/samsung/board-j5lte.c +++ b/board/samsung/board-j5lte.c @@ -4,6 +4,7 @@ */ #include +#include #include
#include #include diff --git a/board/xiaomi/board-blossom.c b/board/xiaomi/board-blossom.c index a7b05e9..8389cfb 100644 --- a/board/xiaomi/board-blossom.c +++ b/board/xiaomi/board-blossom.c @@ -1,4 +1,5 @@ #include +#include #include #include #include diff --git a/board/xiaomi/board-camellia.c b/board/xiaomi/board-camellia.c index 3dad08e..accb5b8 100644 --- a/board/xiaomi/board-camellia.c +++ b/board/xiaomi/board-camellia.c @@ -6,6 +6,7 @@ */ #include +#include #include #include #include