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

This commit is contained in:
bernard 2014-01-17 22:32:32 +08:00
parent ae891e2011
commit 8fdbb7c92b
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

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