atomic: include stddef.h in atomic.h

error info:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'atomic_wchar_t'

Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>
This commit is contained in:
zhangyuan29 2024-08-23 10:11:13 +08:00 committed by Xiang Xiao
parent 54e128367d
commit 080c22e944

View file

@ -29,6 +29,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
/****************************************************************************
* Pre-processor Definitions