Skip to content

Commit 0acea8d

Browse files
cfriedtkartben
authored andcommitted
posix: options: mprotect: include toolchain header
Include zephyr/toolchain.h to get access to ARG_UNUSED(). Signed-off-by: Chris Friedt <[email protected]>
1 parent 587490d commit 0acea8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/posix/options/mprotect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <sys/types.h>
1010

1111
#include <zephyr/posix/sys/mman.h>
12+
#include <zephyr/toolchain.h>
1213

1314
int mprotect(void *addr, size_t len, int prot)
1415
{

0 commit comments

Comments
 (0)