summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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