[toolchain] fix nasty daemon/pthread issue (closes: #4915)
[openwrt/svn-archive/archive.git] / toolchain / uClibc / patches / 141-fix-daemon-to-support-pthread.patch
1 --- a/libc/unistd/daemon.c
2 +++ b/libc/unistd/daemon.c
3 @@ -54,7 +54,7 @@ libc_hidden_proto(_exit)
4 libc_hidden_proto(dup2)
5 libc_hidden_proto(setsid)
6 libc_hidden_proto(chdir)
7 -libc_hidden_proto(fork)
8 +/* libc_hidden_proto(fork) */
9
10 int daemon( int nochdir, int noclose )
11 {