summaryrefslogtreecommitdiff
path: root/include/libc/libc_stat.h
diff options
context:
space:
mode:
authoraozima <[email protected]>2020-10-09 15:17:27 +0800
committeraozima <[email protected]>2020-10-09 15:17:27 +0800
commit05777266b9dffe30df0bef15b35b710f6de21710 (patch)
tree6453a68327fd2d7ffb3dcbf788bd5f6d8b209528 /include/libc/libc_stat.h
parent79fd12842beeee5a653ba6f4bc2f08b21be7697a (diff)
parentaeff91b2a7fc846cf3724c01c28fbd7327bd2bac (diff)
Merge remote-tracking branch 'remotes/gitee/master' into gitee_master
Diffstat (limited to 'include/libc/libc_stat.h')
-rw-r--r--include/libc/libc_stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc/libc_stat.h b/include/libc/libc_stat.h
index 9079d1ef15..9388688572 100644
--- a/include/libc/libc_stat.h
+++ b/include/libc/libc_stat.h
@@ -9,7 +9,7 @@
#include <rtconfig.h>
-#if defined(RT_USING_NEWLIB)
+#if defined(RT_USING_NEWLIB) || defined( __GNUC__ )
/* use header file of newlib */
#include <sys/stat.h>