From 080c22e944eeed18ef6ab20b63d4a8cac2a6b190 Mon Sep 17 00:00:00 2001 From: zhangyuan29 Date: Fri, 23 Aug 2024 10:11:13 +0800 Subject: [PATCH] atomic: include stddef.h in atomic.h error info: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atomic_wchar_t' Signed-off-by: zhangyuan29 --- include/nuttx/lib/stdatomic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/nuttx/lib/stdatomic.h b/include/nuttx/lib/stdatomic.h index 64a581860c..07f14911fb 100644 --- a/include/nuttx/lib/stdatomic.h +++ b/include/nuttx/lib/stdatomic.h @@ -29,6 +29,7 @@ #include #include +#include /**************************************************************************** * Pre-processor Definitions