From 7da64e7bda89d759b4fda7b5a036809260d031c4 Mon Sep 17 00:00:00 2001 From: Chris Friedt Date: Sun, 8 Jun 2025 09:22:16 -0400 Subject: [PATCH] poxi: aio: include zephyr/toolchain.h for ZRESTRICT Previously, ZRESTRICT was used in aio.h without also including zephyr/toolchain.h. Tests may have compiled because the toolchain header was included by some other means. We should explicitly include it to ensure that ZRESTRICT is defined. Signed-off-by: Chris Friedt --- include/zephyr/posix/aio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/zephyr/posix/aio.h b/include/zephyr/posix/aio.h index 8645ff801c1..55ec9d873c9 100644 --- a/include/zephyr/posix/aio.h +++ b/include/zephyr/posix/aio.h @@ -11,6 +11,8 @@ #include #include +#include + #ifdef __cplusplus extern "C" { #endif