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:
Chris Friedt 2024-12-22 10:16:06 -05:00 committed by Benjamin Cabé
parent 587490d6db
commit 0acea8d5e6

View file

@ -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)
{