Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

posix: shm: fix build error with minimal libc #75602

Merged

Conversation

evgeniy-paltsev
Copy link
Collaborator

@evgeniy-paltsev evgeniy-paltsev commented Jul 8, 2024

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).

Fixes: #75613

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 <[email protected]>
Signed-off-by: Eugeniy Paltsev <[email protected]>
@evgeniy-paltsev evgeniy-paltsev added the bug The issue is a bug, or the PR is fixing a bug label Jul 8, 2024
@evgeniy-paltsev evgeniy-paltsev marked this pull request as ready for review July 8, 2024 17:21
@zephyrbot zephyrbot added size: XS A PR changing only a single line of code area: POSIX POSIX API Library labels Jul 8, 2024
@zephyrbot zephyrbot requested review from cfriedt and ycsin July 8, 2024 17:22
@nashif nashif added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label Jul 8, 2024
@evgeniy-paltsev evgeniy-paltsev added this to the v3.7.0 milestone Jul 10, 2024
@aescolar aescolar merged commit d8929b5 into zephyrproject-rtos:main Jul 10, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: POSIX POSIX API Library bug The issue is a bug, or the PR is fixing a bug size: XS A PR changing only a single line of code Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

posix: shm: build error with minimal libc
8 participants