提交 8fdbb7c9 编写于 作者: B bernard

[Kernel] Fix the compiling issue for not including rtconfig.h file in rtdebug.h/rtdef.h

上级 ae891e20
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
#ifndef __RTDEBUG_H__ #ifndef __RTDEBUG_H__
#define __RTDEBUG_H__ #define __RTDEBUG_H__
#include <rtconfig.h>
/* Using this macro to control all kernel debug features. */ /* Using this macro to control all kernel debug features. */
#ifdef RT_DEBUG #ifdef RT_DEBUG
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#ifndef __RT_DEF_H__ #ifndef __RT_DEF_H__
#define __RT_DEF_H__ #define __RT_DEF_H__
#include <rtconfig.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册