summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbernard <[email protected]>2014-01-17 22:32:32 +0800
committerbernard <[email protected]>2014-01-17 22:32:32 +0800
commit8fdbb7c92b1f398668a280923f02a0355a6f7dcc (patch)
tree3a2154f6ccda1e19aa3ec5781a049b7373707977 /include
parentae891e201124c7937dad301739f83cbb296ead9a (diff)
[Kernel] Fix the compiling issue for not including rtconfig.h file in rtdebug.h/rtdef.h
Diffstat (limited to 'include')
-rw-r--r--include/rtdebug.h2
-rw-r--r--include/rtdef.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/rtdebug.h b/include/rtdebug.h
index 2d93e88b94..8fd07b5b76 100644
--- a/include/rtdebug.h
+++ b/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
diff --git a/include/rtdef.h b/include/rtdef.h
index 7cd35c7f8c..3c91ae7d8d 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -34,6 +34,8 @@
#ifndef __RT_DEF_H__
#define __RT_DEF_H__
+#include <rtconfig.h>
+
#ifdef __cplusplus
extern "C" {
#endif