From a94b60cea46803ad239495fe0fe3fbcc13766b81 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 18 Aug 2002 06:08:39 +0000 Subject: [PATCH] * libc/include/sys/unistd.h: Add getsid declaration for cygwin. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/sys/unistd.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 5ab4c0d68..9e345cc34 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2002-08-18 Christopher Faylor + + * libc/include/sys/unistd.h: Add getsid declaration for cygwin. + 2002-08-17 Jeff Johnston * libc/include/sys/config.h[__PPC__][__SPE__]: Set diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index d6ff2500a..06773ccfd 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -64,6 +64,9 @@ pid_t _EXFUN(getpgid, (pid_t)); pid_t _EXFUN(getpgrp, (void )); pid_t _EXFUN(getpid, (void )); pid_t _EXFUN(getppid, (void )); +#ifdef __CYGWIN__ +pid_t _EXFUN(getsid, (pid_t)); +#endif uid_t _EXFUN(getuid, (void )); #ifdef __CYGWIN__ char * _EXFUN(getusershell, (void));