From 2badc09e7eaf90bcc597648ebbab5fc82ec93d32 Mon Sep 17 00:00:00 2001 From: Evgeniy Paltsev Date: Mon, 8 Jul 2024 15:37:48 +0100 Subject: [PATCH] posix: shm: fix build error with minimal libc In `lib/posix/options/shm.c` we don't include stdio.h header but use standard SEEK_xxx definitions (i.e. `SEEK_SET`) which cause build issues (if the minimal libc is used). Fix that. Signed-off-by: Evgeniy Paltsev Signed-off-by: Eugeniy Paltsev --- lib/posix/options/shm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/posix/options/shm.c b/lib/posix/options/shm.c index f6f1fd76d72ba1..3efd9843b2cbf9 100644 --- a/lib/posix/options/shm.c +++ b/lib/posix/options/shm.c @@ -5,6 +5,7 @@ */ #include +#include #include #include