summaryrefslogtreecommitdiff
path: root/components/libc/newlib/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/newlib/syscalls.c')
-rw-r--r--components/libc/newlib/syscalls.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/libc/newlib/syscalls.c b/components/libc/newlib/syscalls.c
index 5b829f4753..388d240c94 100644
--- a/components/libc/newlib/syscalls.c
+++ b/components/libc/newlib/syscalls.c
@@ -3,6 +3,14 @@
#include <sys/time.h>
#include <rtthread.h>
+#ifdef RT_USING_DFS
+#include <dfs_posix.h>
+#endif
+
+#ifdef RT_USING_PTHREADS
+#include <pthread.h>
+#endif
+
/* Reentrant versions of system calls. */
int