Explorar o código

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

bernard %!s(int64=11) %!d(string=hai) anos
pai
achega
8fdbb7c92b
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  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