From 4b4c3c85f2ac82f12d5527ef1a6794b2189a9eee Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Sat, 20 May 2023 23:41:29 +0800 Subject: [atomic] add stdc atomic detection. (#7536) --- include/rtthread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/rtthread.h') diff --git a/include/rtthread.h b/include/rtthread.h index 5d44164f51..ac1b8f12c2 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -17,6 +17,7 @@ * 2021-02-28 Meco Man add RT_KSERVICE_USING_STDLIB * 2021-11-14 Meco Man add rtlegacy.h for compatibility * 2022-06-04 Meco Man remove strnlen + * 2023-05-20 Bernard add rtatomic.h header file to included files. */ #ifndef __RT_THREAD_H__ @@ -27,6 +28,7 @@ #include #include #include +#include #ifdef RT_USING_LEGACY #include #endif -- cgit v1.3.1