diff --git a/newlib/libc/sys/jehanne/syscalls.c b/newlib/libc/sys/jehanne/syscalls.c index ea3d7af8f..a388bbd6f 100644 --- a/newlib/libc/sys/jehanne/syscalls.c +++ b/newlib/libc/sys/jehanne/syscalls.c @@ -186,4 +186,15 @@ _gettimeofday_r(struct _reent *r, struct timeval *p, void *z) return POSIX_gettimeofday(errnop, p, z); } +unsigned int +sleep(unsigned int seconds) +{ + return POSIX_sleep(seconds); +} +int +pipe(int fildes[2]) +{ + int *errnop = &_REENT->_errno; + return POSIX_pipe(errnop, fildes); +}