summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
authorprife <[email protected]>2014-01-11 16:37:13 +0800
committerprife <[email protected]>2014-01-11 16:50:53 +0800
commit86cdc22043d4f765aa2ad289fac09aca518fe525 (patch)
tree3f6458b42abc237a39d40c6b98b238192f504ddc /include/rtthread.h
parentc07a78ae005b9e41801f1d7f8e90a37d4d7f4449 (diff)
kernel: rearrange the header file include order
There are some CONFIG OPTIONS in rtdebug.h, which may influence the rtdef.h, so rtdebug.h should be head of the rtdef.h
Diffstat (limited to 'include/rtthread.h')
-rw-r--r--include/rtthread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rtthread.h b/include/rtthread.h
index 0891ed9bcc..f201f3d9d7 100644
--- a/include/rtthread.h
+++ b/include/rtthread.h
@@ -31,8 +31,9 @@
#ifndef __RT_THREAD_H__
#define __RT_THREAD_H__
-#include <rtdef.h>
+#include <rtconfig.h>
#include <rtdebug.h>
+#include <rtdef.h>
#include <rtservice.h>
#include <rtm.h>