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 <cfriedt@tenstorrent.com>
This commit is contained in:
Chris Friedt 2025-06-08 09:22:16 -04:00 committed by Dan Kalowsky
parent ba3573f87f
commit 7da64e7bda

View File

@ -11,6 +11,8 @@
#include <sys/types.h>
#include <time.h>
#include <zephyr/toolchain.h>
#ifdef __cplusplus
extern "C" {
#endif