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 <PaltsevEvgeniy@gmail.com> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
This commit is contained in:
parent
8eff81a627
commit
d8929b5dc6
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <kernel_arch_interface.h>
|
||||
#include <zephyr/kernel.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue