diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2008-10-15 21:37:54 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2008-10-15 21:37:54 +0000 |
commit | baa9e037ccb88db5b6c0cbe6a3115767fd8bbae6 (patch) | |
tree | eac5bd0181fec8cc2496dd4b920404f93fe5512e /newlib/libc | |
parent | 6b35caa257910d1545f3719545ee322d61229d5f (diff) | |
download | cygnal-baa9e037ccb88db5b6c0cbe6a3115767fd8bbae6.tar.gz cygnal-baa9e037ccb88db5b6c0cbe6a3115767fd8bbae6.tar.bz2 cygnal-baa9e037ccb88db5b6c0cbe6a3115767fd8bbae6.zip |
2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index fa7361a25..8a296fe3b 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -166,7 +166,7 @@ long _EXFUN(sysconf, (int __name )); pid_t _EXFUN(tcgetpgrp, (int __fildes )); int _EXFUN(tcsetpgrp, (int __fildes, pid_t __pgrp_id )); char _EXFUN(*ttyname, (int __fildes )); -#if defined(__CYGWIN__) +#if defined(__CYGWIN__) || defined(__rtems__) int _EXFUN(ttyname_r, (int, char *, size_t)); #endif int _EXFUN(unlink, (const char *__path )); |