Преглед на файлове

[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