diff options
-rw-r--r-- | newlib/ChangeLog | 2 | ||||
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 3bc1e73b1..8a9e2d6bb 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,7 +1,7 @@ 2001-10-17 Corinna Vinschen <corinna@vinschen.de> * libc/include/sys/unistd.h: Add prototype for fchdir() when - __CYGWIN__ is defined. + __CYGWIN__ or __rtems__ is defined. 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu> diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index c59212c78..b9e7690a4 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -35,7 +35,7 @@ int _EXFUN(execlp, (const char *__file, const char *, ... )); int _EXFUN(execv, (const char *__path, char * const __argv[] )); int _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] )); int _EXFUN(execvp, (const char *__file, char * const __argv[] )); -#if defined(__CYGWIN__) +#if defined(__CYGWIN__) || defined(__rtems__) int _EXFUN(fchdir, (int __fildes)); #endif int _EXFUN(fchmod, (int __fildes, mode_t __mode )); |