summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib/sys
diff options
context:
space:
mode:
authormysterywolf <[email protected]>2020-12-04 20:16:56 +0800
committermysterywolf <[email protected]>2020-12-04 20:16:56 +0800
commit1ad70b20ad99833d25e0636e7065d8cdcabce388 (patch)
tree4c450ae25e986673344eabba2e583f8605b26695 /components/libc/compilers/dlib/sys
parent3634621815b4145c786cff2e22cfeae5b108e94f (diff)
[keil][libc]防止开启pthread功能后 keil报错
Diffstat (limited to 'components/libc/compilers/dlib/sys')
-rw-r--r--components/libc/compilers/dlib/sys/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/compilers/dlib/sys/unistd.h b/components/libc/compilers/dlib/sys/unistd.h
index 9564daba8d..982a29135d 100644
--- a/components/libc/compilers/dlib/sys/unistd.h
+++ b/components/libc/compilers/dlib/sys/unistd.h
@@ -40,4 +40,6 @@
int isatty (int fd);
char * ttyname (int desc);
+unsigned int sleep(unsigned int seconds);
+
#endif /* _SYS_UNISTD_H */