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:
parent
ba3573f87f
commit
7da64e7bda
@ -11,6 +11,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <time.h>
|
||||
|
||||
#include <zephyr/toolchain.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user