[Kernel] Fix the compiling issue for not including rtconfig.h file in rtdebug.h/rtdef.h
This commit is contained in:
parent
ae891e2011
commit
8fdbb7c92b
@ -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
|
||||
|
||||
|
@ -34,6 +34,8 @@
|
||||
#ifndef __RT_DEF_H__
|
||||
#define __RT_DEF_H__
|
||||
|
||||
#include <rtconfig.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user