posix: options: mprotect: include toolchain header
Include zephyr/toolchain.h to get access to ARG_UNUSED(). Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
This commit is contained in:
parent
587490d6db
commit
0acea8d5e6
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue