From 8fdbb7c92b1f398668a280923f02a0355a6f7dcc Mon Sep 17 00:00:00 2001 From: bernard Date: Fri, 17 Jan 2014 22:32:32 +0800 Subject: [PATCH] [Kernel] Fix the compiling issue for not including rtconfig.h file in rtdebug.h/rtdef.h --- include/rtdebug.h | 2 ++ include/rtdef.h | 2 ++ 2 files changed, 4 insertions(+) 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 -- GitLab