Commit 7da64e7b authored by Chris Friedt's avatar Chris Friedt Committed by Dan Kalowsky
Browse files

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: default avatarChris Friedt <cfriedt@tenstorrent.com>
parent ba3573f8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@
#include <sys/types.h>
#include <time.h>

#include <zephyr/toolchain.h>

#ifdef __cplusplus
extern "C" {
#endif