Skip to content

Commit

Permalink
posix: options: mprotect: include toolchain header
Browse files Browse the repository at this point in the history
Include zephyr/toolchain.h to get access to ARG_UNUSED().

Signed-off-by: Chris Friedt <[email protected]>
  • Loading branch information
cfriedt authored and kartben committed Jan 9, 2025
1 parent 587490d commit 0acea8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/posix/options/mprotect.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <sys/types.h>

#include <zephyr/posix/sys/mman.h>
#include <zephyr/toolchain.h>

int mprotect(void *addr, size_t len, int prot)
{
Expand Down

0 comments on commit 0acea8d

Please sign in to comment.