diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 25ade3e36..c63b64772 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2005-02-23 Corinna Vinschen + + * libc/include/sys/unistd.h: Define getpeereid for Cygwin. + 2005-02-22 Corinna Vinschen * libc/include/sys/unistd.h: Define fdatasync also for Cygwin. diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 9b845746a..e9215e24d 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -73,6 +73,9 @@ int _EXFUN(getlogin_r, (char *name, size_t namesize) ); #endif char _EXFUN(*getpass, (const char *__prompt)); size_t _EXFUN(getpagesize, (void)); +#if defined(__CYGWIN__) +int _EXFUN(getpeereid, (int, uid_t *, gid_t *)); +#endif pid_t _EXFUN(getpgid, (pid_t)); pid_t _EXFUN(getpgrp, (void )); pid_t _EXFUN(getpid, (void ));