summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2016-04-18 13:54:07 +0800
committerBernard Xiong <[email protected]>2016-04-18 13:54:07 +0800
commit33cda0866fa5d5f1b33971fc6385caf0d74b6bf5 (patch)
treea9fcbfc89bc7f80b3210e99e56e4578c4f520b9d /components/libc
parent838141e89f87dd6f5b378734c1601b2aaed93f05 (diff)
[libc] Fix the rtconfig issue in armlibc/unistd.h file.
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/armlibc/sys/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/armlibc/sys/unistd.h b/components/libc/armlibc/sys/unistd.h
index 06a46746c0..e1e0dc904c 100644
--- a/components/libc/armlibc/sys/unistd.h
+++ b/components/libc/armlibc/sys/unistd.h
@@ -1,6 +1,8 @@
#ifndef _SYS_UNISTD_H
#define _SYS_UNISTD_H
+#include <rtthread.h>
+
#ifdef RT_USING_DFS
#include <dfs_posix.h>
#else