diff --git a/include/rtdebug.h b/include/rtdebug.h index 2d93e88b94..8fd07b5b76 100644 --- a/include/rtdebug.h +++ b/include/rtdebug.h @@ -21,6 +21,8 @@ #ifndef __RTDEBUG_H__ #define __RTDEBUG_H__ +#include + /* Using this macro to control all kernel debug features. */ #ifdef RT_DEBUG diff --git a/include/rtdef.h b/include/rtdef.h index 7cd35c7f8c..3c91ae7d8d 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -34,6 +34,8 @@ #ifndef __RT_DEF_H__ #define __RT_DEF_H__ +#include + #ifdef __cplusplus extern "C" { #endif