diff --git a/include/rtdef.h b/include/rtdef.h index d548a191f1..edfbbd8545 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -595,6 +595,8 @@ struct rt_memheap struct rt_memheap_item *free_list; /**< free block list */ struct rt_memheap_item free_header; /**< free block list header */ + + struct rt_mutex lock; /**< mutex lock */ }; /**