瀏覽代碼

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

bernard 11 年之前
父節點
當前提交
8fdbb7c92b
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      include/rtdebug.h
  2. 2 0
      include/rtdef.h

+ 2 - 0
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
 

+ 2 - 0
include/rtdef.h

@@ -34,6 +34,8 @@
 #ifndef __RT_DEF_H__
 #define __RT_DEF_H__
 
+#include <rtconfig.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif