summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2022-04-11 13:39:42 -0400
committerguo <[email protected]>2022-04-15 15:40:20 +0800
commitbda32cdedb81270e319f4e7ee5f10f912000a9ea (patch)
tree03cee76c1151e0033a398f7e0f5ff07b7f1dfa35 /components/libc/compilers/common
parent2fa40dd602692a4c18d72b76eb97c3e7bf28058b (diff)
[libc] fix that some function cannot be found in unistd.h
Diffstat (limited to 'components/libc/compilers/common')
-rw-r--r--components/libc/compilers/common/sys/unistd.h (renamed from components/libc/compilers/common/extension/sys/unistd.h)2
-rw-r--r--components/libc/compilers/common/unistd.h (renamed from components/libc/compilers/common/extension/unistd.h)0
2 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/common/extension/sys/unistd.h b/components/libc/compilers/common/sys/unistd.h
index 2b8ca33260..fcf6e342e7 100644
--- a/components/libc/compilers/common/extension/sys/unistd.h
+++ b/components/libc/compilers/common/sys/unistd.h
@@ -13,7 +13,7 @@
#define __SYS_UNISTD_H__
#include <stddef.h>
-#include "types.h" /* <sys/types.h> */
+#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
diff --git a/components/libc/compilers/common/extension/unistd.h b/components/libc/compilers/common/unistd.h
index 4dd71c842e..4dd71c842e 100644
--- a/components/libc/compilers/common/extension/unistd.h
+++ b/components/libc/compilers/common/unistd.h