From bda32cdedb81270e319f4e7ee5f10f912000a9ea Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 11 Apr 2022 13:39:42 -0400 Subject: [PATCH] [libc] fix that some function cannot be found in unistd.h --- components/libc/compilers/common/{extension => }/sys/unistd.h | 2 +- components/libc/compilers/common/{extension => }/unistd.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename components/libc/compilers/common/{extension => }/sys/unistd.h (97%) rename components/libc/compilers/common/{extension => }/unistd.h (100%) diff --git a/components/libc/compilers/common/extension/sys/unistd.h b/components/libc/compilers/common/sys/unistd.h similarity index 97% rename from components/libc/compilers/common/extension/sys/unistd.h rename to 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 -#include "types.h" /* */ +#include #ifdef __cplusplus extern "C" { diff --git a/components/libc/compilers/common/extension/unistd.h b/components/libc/compilers/common/unistd.h similarity index 100% rename from components/libc/compilers/common/extension/unistd.h rename to components/libc/compilers/common/unistd.h