1
0
Эх сурвалжийг харах

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

bernard 11 жил өмнө
parent
commit
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