From 080ef411359ffe4c8b5f03ab5fce9da900e40381 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 10 Sep 2003 15:53:44 +0000 Subject: * libc/include/sys/unistd.h: Declare function daemon for Cygwin. --- newlib/libc/include/sys/unistd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'newlib/libc/include') diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 50afeafbc..93f1ccf0c 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -29,6 +29,9 @@ int _EXFUN(chroot, (const char *__path )); int _EXFUN(close, (int __fildes )); char _EXFUN(*ctermid, (char *__s )); char _EXFUN(*cuserid, (char *__s )); +#if defined(__CYGWIN__) +int _EXFUN(daemon, (int nochdir, int noclose)); +#endif int _EXFUN(dup, (int __fildes )); int _EXFUN(dup2, (int __fildes, int __fildes2 )); #if defined(__CYGWIN__) -- cgit v1.2.3