summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/time.c
diff options
context:
space:
mode:
authorguo <[email protected]>2021-06-13 09:36:29 +0800
committerGitHub <[email protected]>2021-06-13 09:36:29 +0800
commitb516cbd2ae6f2f111a1aa6a977f9a20bada6305d (patch)
tree5802e9e87cc54cb3b80ef58fd4f7e051fe093155 /components/libc/compilers/common/time.c
parent4595ada2ce7c9e7bacad161f19e6e62ca2053afe (diff)
parent4c625fcb2fd03823e29dc975cde4d8fe88f48145 (diff)
Merge pull request #4790 from mysterywolf/errno
[master][rtlibc] remove libc_errno.h & libc_limits.h
Diffstat (limited to 'components/libc/compilers/common/time.c')
-rw-r--r--components/libc/compilers/common/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/libc/compilers/common/time.c b/components/libc/compilers/common/time.c
index 9996212444..4cdfe77343 100644
--- a/components/libc/compilers/common/time.c
+++ b/components/libc/compilers/common/time.c
@@ -21,6 +21,7 @@
*/
#include "sys/time.h"
+#include <sys/errno.h>
#include <rtthread.h>
#ifdef RT_USING_DEVICE