diff --git a/newlib/ChangeLog b/newlib/ChangeLog index a2266a6d2..b82bd80bd 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2003-04-15 Chris January + + * newlib/libc/include/sys/unistd.h: add declaration for gethostid on + Cygwin. + 2003-04-09 J"orn Rennecke * libc/machine/sh/memset.S: Avoid clobbering volatile diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 8678a3c9b..85a2f7aae 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -60,6 +60,9 @@ uid_t _EXFUN(geteuid, (void )); gid_t _EXFUN(getgid, (void )); #endif int _EXFUN(getgroups, (int __gidsetsize, gid_t __grouplist[] )); +#if defined(__CYGWIN__) +long _EXFUN(gethostid, (void)); +#endif char _EXFUN(*getlogin, (void )); #if defined(_POSIX_THREAD_SAFE_FUNCTIONS) int _EXFUN(getlogin_r, (char *name, size_t namesize) );