diff options
| author | bernard <[email protected]> | 2014-01-17 22:32:32 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2014-01-17 22:32:32 +0800 |
| commit | 8fdbb7c92b1f398668a280923f02a0355a6f7dcc (patch) | |
| tree | 3a2154f6ccda1e19aa3ec5781a049b7373707977 /include | |
| parent | ae891e201124c7937dad301739f83cbb296ead9a (diff) | |
[Kernel] Fix the compiling issue for not including rtconfig.h file in rtdebug.h/rtdef.h
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdebug.h | 2 | ||||
| -rw-r--r-- | include/rtdef.h | 2 |
2 files changed, 4 insertions, 0 deletions
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 <rtconfig.h> + /* 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 <rtconfig.h> + #ifdef __cplusplus extern "C" { #endif |
